We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello I just started using this module and really like it.
I am having an issue with following code: var proxy = httpProxy.createProxyServer({}); proxy.web(req, res, { target: "https://myserver" }) if req.url has something like http://someServer/someService?config=http://server2.com/a.json, the outgoing URL becomes http://someServer/someService?config=http:/server2.com/a.json. I traced the code and it looks like common.urlJoin converts multiple '/' to single '/'. How can I avoid this issue?
Thanks
The text was updated successfully, but these errors were encountered:
This is what I had to do with the same problem: #703 (comment)
I just commented out the problem line and manually set outgoing.path = outgoingPath
Sorry, something went wrong.
Should be fixed
No branches or pull requests
Hello
I just started using this module and really like it.
I am having an issue with following code:
var proxy = httpProxy.createProxyServer({});
proxy.web(req, res, { target: "https://myserver" })
if req.url has something like http://someServer/someService?config=http://server2.com/a.json, the outgoing URL becomes http://someServer/someService?config=http:/server2.com/a.json. I traced the code and it looks like common.urlJoin converts multiple '/' to single '/'. How can I avoid this issue?
Thanks
The text was updated successfully, but these errors were encountered: