[fix] simple fixes #748 #744 #746

This commit is contained in:
Jarrett Cruger 2014-12-02 09:57:49 -07:00
parent 70ed1c4273
commit d98d9516ea
2 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ common.urlJoin = function() {
// on every request
// Handle case where there could be multiple ? in the URL.
retSegs.concat(lastSegs);
retSegs.push.apply(retSegs, lastSegs);
return retSegs.join('?')
};

View File

@ -203,7 +203,7 @@ describe('lib/http-proxy/common.js', function () {
expect(outgoing.path).to.eql('/forward/static/path');
})
it.only('should not modify the query string', function () {
it('should not modify the query string', function () {
var outgoing = {};
common.setupOutgoing(outgoing, {
target: { path: '/forward' },