[ python-Feature Requests-882397 ] Parsing userID:passwd in
http_proxy
SourceForge.net
noreply at sourceforge.net
Thu Jan 22 16:49:53 EST 2004
Feature Requests item #882397, was opened at 2004-01-22 21:55
Message generated for change (Comment added) made by sjoerd
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
----------------------------------------------------------------------
>Comment By: Sjoerd Mullender (sjoerd)
Date: 2004-01-22 22:49
Message:
Logged In: YES
user_id=43607
Does it work to encode the @ as %40, so making it
http_proxy=http://userID%40my_domain:passwd@my_proxy:8080/?
In that case I don't think this needs to be implemented.
----------------------------------------------------------------------
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