issue with common.urlJoin converting '//' to '/'
Created by: wenjunche
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