diff --git a/lib/http-proxy/common.js b/lib/http-proxy/common.js index bc6efd9..43919b1 100644 --- a/lib/http-proxy/common.js +++ b/lib/http-proxy/common.js @@ -140,8 +140,9 @@ common.urlJoin = function() { lastIndex = args.length - 1, last = args[lastIndex], lastSegs = last.split('?'), - args[lastIndex] = lastSegs[0], retSegs; + + args[lastIndex] = lastSegs[0]; // // Join all strings, but remove empty strings so we don't get extra slashes from