pub fn validate_redirect( original: &ValidatedEndpoint, redirect: &str, ) -> Result<ValidatedEndpoint, SsrfError>