Skip to content

Commit 9c0b869

Browse files
committed
[fix] fix #738
1 parent 410a8ce commit 9c0b869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/http-proxy/common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ common.urlJoin = function() {
150150
retSegs = [
151151
args.filter(function filter(a) {
152152
return !!a;
153-
}).join('/').replace(/\/+/g, '/')
153+
}).join('/').replace(/\/+/g, '/').replace(/:\//g, '://')
154154
];
155155

156156
// Only join the query string if it exists so we don't have trailing a '?'

0 commit comments

Comments
 (0)