This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients Andy.Reitz, martin.panter, orsenthil
Date 2015-02-09.05:44:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The relevant code looks like it is _parse_proxy() at Lib/urllib/ It has custom code to search for a slash (/), so it wouldn’t be hard to make it search after the last at (@) symbol. (I previously assumed it would use urlsplit() or similar, which would be harder to adjust.)

Even Curl seems to require an @ symbol in the username or password to be encoded, i.e. the following doesn’t work, so you still need to encode the fields in general to work with Curl.

http_proxy=http://a@x:b@localhost curl . . .
http_proxy=http://a:b@x@localhost curl . . .
Date User Action Args
2015-02-09 05:44:16martin.pantersetrecipients: + martin.panter, orsenthil, Andy.Reitz
2015-02-09 05:44:16martin.pantersetmessageid: <>
2015-02-09 05:44:16martin.panterlinkissue23328 messages
2015-02-09 05:44:15martin.pantercreate