pub fn safe_next(next: &str) -> Option<&str>Expand description
next when it is a same-origin path, the only post-login destination Tablo follows: an
absolute URL, a //host target, a backslash or a control character answers None. An app that
reads a next of its own, as an ExternalAuth login page does, checks
it here before redirecting to it.