From 9c0b8697bc689ef464b4e46c92717cd03e349e38 Mon Sep 17 00:00:00 2001 From: Jarrett Cruger Date: Tue, 2 Dec 2014 10:25:46 -0700 Subject: [PATCH] [fix] fix #738 --- lib/http-proxy/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http-proxy/common.js b/lib/http-proxy/common.js index 6aee0bd..24ed323 100644 --- a/lib/http-proxy/common.js +++ b/lib/http-proxy/common.js @@ -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 '?'