|
@@ -161,7 +161,7 @@ func mrouter(h http.Handler) http.Handler {
|
|
|
//Other paths
|
|
|
//Rediect to login page
|
|
|
w.Header().Set("Cache-Control", "no-cache, no-store, no-transform, must-revalidate, private, max-age=0")
|
|
|
- http.Redirect(w, r, common.ConstructRelativePathFromRequestURL(r.RequestURI, "login.system")+"?redirect="+r.URL.Path, 307)
|
|
|
+ http.Redirect(w, r, common.ConstructRelativePathFromRequestURL(r.RequestURI, "login.system")+"?redirect="+r.URL.String(), 307)
|
|
|
}
|
|
|
|
|
|
}
|