Skip to content

Commit

Permalink
[fix] closes #529
Browse files Browse the repository at this point in the history
  • Loading branch information
yawnt committed Dec 18, 2013
1 parent 97e4600 commit 9e74a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/http-proxy/common.js
@@ -1,4 +1,5 @@
var common = exports,
url = require('url'),
extend = require('util')._extend;

/**
Expand Down Expand Up @@ -43,8 +44,7 @@ common.setupOutgoing = function(outgoing, options, req, forward) {


outgoing.agent = options.agent || false;
outgoing.path = req.url;

outgoing.path = url.parse(req.url).path;
return outgoing;
};

Expand Down

0 comments on commit 9e74a63

Please sign in to comment.