code: func SafeRedirect(w http.ResponseWriter, r *http.Request, redirectURL string) error {
  	parsedURL, err := url.Parse(redirectURL)
  	if err != nil {
  		return trace.Wrap(err)
  	}
  	http.Redirect(w, r, parsedURL.RequestURI(), http.StatusFound)
  	return nil
  }
docs: // SafeRedirect performs a relative redirect to the URI part of the provided redirect URL