Author demian.brecht
Recipients Marcus.Smith, demian.brecht, dstufft, leotan, martin.panter, ncoghlan, paul.moore
Date 2015-02-25.22:17:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
FWIW, setting up a local authenticated (ncsa_auth) squid proxy, this breaks using pip 0.6.8:

pip --proxy http://special:my?password@localhost:3128 install <package>

While the percent-encoded version is successful:

pip --proxy http://special:my%3Fpassword@localhost:3128 install <package>

It's odd that you would encounter the same error with an encoded password. It might be helpful if you could supply an example of the full proxy URL you're experiencing the problem with when using an encoded password.

It seems to me that it is functioning as expected based on the RFC, but could definitely use some better detection and error reporting around malformed URLs (as Senthil mentions in #23328). I'm setting the status of this issue to pending (assuming it will be closed as a fix for this would be done outside of the standard library) until someone with more expertise with pip takes a look.
Date User Action Args
2015-02-25 22:17:32demian.brechtsetrecipients: + demian.brecht, paul.moore, ncoghlan, martin.panter, dstufft, Marcus.Smith, leotan
2015-02-25 22:17:32demian.brechtsetmessageid: <>
2015-02-25 22:17:32demian.brechtlinkissue23516 messages
2015-02-25 22:17:32demian.brechtcreate