You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. use NewSingleHostReverseProxy to create reverse proxy server
2. send HTTP request with path?query
3. base/path is preserved, but not ?query
What is the expected output?
proxy'd request should include query parameters of original request
What do you see instead?
query params removed
Which revision are you using? (hg identify)
1107a7d3cb07 weekly/weekly.2012-01-27
The weekly and tip show:
req.URL.Scheme = target.Scheme
req.URL.Host = target.Host
req.URL.Path = singleJoiningSlash(target.Path, req.URL.Path)
req.URL.RawQuery = target.RawQuery
What is the last line there supposed to do? Deleting it restores expected behavior.