[ python-Feature Requests-882397 ] Parsing userID:passwd in http_proxy

SourceForge.net noreply at sourceforge.net
Thu Jan 22 15:55:35 EST 2004


Feature Requests item #882397, was opened at 2004-01-22 15:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=882397&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Marcin J. Kraszewski (marcinjk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Parsing userID:passwd in http_proxy

Initial Comment:
When using yum (an automatic updater) on Fedora Core 1,
I am trying to take advantage of an http_proxy
variable. The problem is that our proxy userIDs contain
an "@" character, and when the variable has the
following format:
http_proxy=http://userID@my_domain:passwd@my_proxy:8080/
I am getting the following error:
[Errno 7] HTTP Error (InvalidURL): nonnumeric port:
'passwd at my_proxy:8080'

Would it be possible to change the way 'userID:passwd'
string is parsed? Maybe by allowing a delimiter around
that string?
Thank you very much for your co-opeartion.

Best regards

Marcin


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=882397&group_id=5470



More information about the Python-bugs-list mailing list