Remove a bunch more cruft
This commit is contained in:
@@ -325,7 +325,7 @@ func NormalizeURL(url string) string {
|
||||
}
|
||||
|
||||
// RedirectRefererURL constructs a Redirect URL from the given Request URL
|
||||
// and possibly Referer, if the Referer's Base URL matches the Pod's Base URL
|
||||
// and possibly Referer, if the Referer's Base URL matches the Server's Base URL
|
||||
// will return the Referer URL otherwise the defaultURL. This is primarily used
|
||||
// to redirect a user from a successful /login back to the page they were on.
|
||||
func RedirectRefererURL(r *http.Request, conf *Config, defaultURL string) string {
|
||||
|
||||
Reference in New Issue
Block a user