mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-12 16:47:41 +02:00
auth: do not strip query parameters in forward auth (#2216)
This commit is contained in:
parent
d538f1d104
commit
db00821001
3 changed files with 0 additions and 38 deletions
|
@ -58,10 +58,6 @@ func (p *Proxy) nginxPostCallbackRedirect(w http.ResponseWriter, r *http.Request
|
|||
if err != nil {
|
||||
return httputil.NewError(http.StatusBadRequest, err)
|
||||
}
|
||||
u = urlutil.ParseEnvoyQueryParams(u)
|
||||
q := u.Query()
|
||||
q.Del(urlutil.QueryForwardAuthURI)
|
||||
u.RawQuery = q.Encode()
|
||||
httputil.Redirect(w, r, u.String(), http.StatusFound)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue