diff --git a/utils/http.go b/utils/http.go index 37dbc30..35205b8 100644 --- a/utils/http.go +++ b/utils/http.go @@ -23,7 +23,7 @@ func RedirectTo(w http.ResponseWriter, r *http.Request, path string, query_param for k, v := range query_params { query.Add(k, v) } - http.Redirect(w, r, path+query.Encode(), http.StatusSeeOther) + http.Redirect(w, r, path+"?"+query.Encode(), http.StatusSeeOther) return nil }