Skip to content
Permalink
Browse files

[fix] closes #529

  • Loading branch information...
yawnt committed Dec 18, 2013
1 parent 97e4600 commit 9e74a633a75d466cf266b1c57c68edd20a883f69
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/http-proxy/common.js
@@ -1,4 +1,5 @@
var common = exports,
url = require('url'),
extend = require('util')._extend;

/**
@@ -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;
};

0 comments on commit 9e74a63

Please sign in to comment.
You can’t perform that action at this time.