mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] fix #738
This commit is contained in:
parent
410a8ce94c
commit
9c0b8697bc
@ -150,7 +150,7 @@ common.urlJoin = function() {
|
||||
retSegs = [
|
||||
args.filter(function filter(a) {
|
||||
return !!a;
|
||||
}).join('/').replace(/\/+/g, '/')
|
||||
}).join('/').replace(/\/+/g, '/').replace(/:\//g, '://')
|
||||
];
|
||||
|
||||
// Only join the query string if it exists so we don't have trailing a '?'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user