diff --git a/http/middleware/session/HTTP.go b/http/middleware/session/HTTP.go index f6af5456..3393f90f 100644 --- a/http/middleware/session/HTTP.go +++ b/http/middleware/session/HTTP.go @@ -15,7 +15,10 @@ func (h *handler) handleHTTP(c echo.Context, ctxuser string, data map[string]int path := req.URL.Path - location := path + req.URL.RawQuery + location := path + if len(req.URL.RawQuery) != 0 { + location += "?" + req.URL.RawQuery + } remote := req.RemoteAddr id := shortuuid.New()