[Python-bugs-list] [ python-Bugs-229288 ] urllib.quote et al do lowercase %xx
noreply@sourceforge.net
noreply@sourceforge.net
Mon, 10 Sep 2001 14:35:53 -0700
Bugs item #229288, was opened at 2001-01-18 11:26
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=229288&group_id=5470
Category: Python Library
Group: None
>Status: Open
Resolution: Fixed
>Priority: 3
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Guido van Rossum (gvanrossum)
Summary: urllib.quote et al do lowercase %xx
Initial Comment:
The python 2.0 urllib has %%%x as a format when quoting forbidden characters. There are scripts out there that break with lower case,
therefore I guess %%%X should be used.
----------------------------------------------------------------------
>Comment By: Guido van Rossum (gvanrossum)
Date: 2001-09-10 14:35
Message:
Logged In: YES
user_id=6380
OK, reopened, but I'd like to find out what the problem is
here. It sounds like there are servers that only accept
lowercase in %xx-encoded URLs. It seems that those servers
are broken, right?
Or is there a different problem?
(PS. Please don't post anonymously if you want a response!)
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2001-09-10 14:23
Message:
Logged In: NO
Actually, now there are scripts that break the new way (with upper case)!
Perhaps this should be a selectable option...minimally, a optional argument to urllib.quote and
urllib.quote_plus.
-Ron
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-01-18 19:28
Message:
Agreed. Fixed in CVS, will be released with 2.1a1.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=229288&group_id=5470