[fix] closes #529

This commit is contained in:
yawnt 2013-12-18 12:45:20 +01:00
parent 97e4600e94
commit 9e74a633a7

View File

@ -1,4 +1,5 @@
var common = exports, var common = exports,
url = require('url'),
extend = require('util')._extend; extend = require('util')._extend;
/** /**
@ -43,8 +44,7 @@ common.setupOutgoing = function(outgoing, options, req, forward) {
outgoing.agent = options.agent || false; outgoing.agent = options.agent || false;
outgoing.path = req.url; outgoing.path = url.parse(req.url).path;
return outgoing; return outgoing;
}; };