pub(crate) fn redirect(url: &str) -> String