Skip to content

Commit d98d951

Browse files
committed
[fix] simple fixes #748 #744 #746
1 parent 70ed1c4 commit d98d951

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/http-proxy/common.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ common.urlJoin = function() {
157157
// on every request
158158

159159
// Handle case where there could be multiple ? in the URL.
160-
retSegs.concat(lastSegs);
160+
retSegs.push.apply(retSegs, lastSegs);
161161

162162
return retSegs.join('?')
163163
};

test/lib-http-proxy-common-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ describe('lib/http-proxy/common.js', function () {
203203
expect(outgoing.path).to.eql('/forward/static/path');
204204
})
205205

206-
it.only('should not modify the query string', function () {
206+
it('should not modify the query string', function () {
207207
var outgoing = {};
208208
common.setupOutgoing(outgoing, {
209209
target: { path: '/forward' },

0 commit comments

Comments
 (0)