Created attachment 519580 [details] backported upstream patch from 8135 Description of problem: urllib.unquote fails to decode a percent-escape with mixed case. It has been reported / corrected upstream : http://bugs.python.org/issue8135 Version-Release number of selected component (if applicable): python-2.4.3-44.el5 How reproducible: 100% Steps to Reproduce: >>> from urllib import unquote >>> unquote("%fc") '\xfc' >>> unquote("%FC") '\xfc' >>> unquote("%Fc") '%Fc' >>> unquote("%fC") '%fC' Expected behaviour: >>> unquote("%Fc") '\xfc' >>> unquote("%fC") '\xfc' Additional info: attached : backported patch http://bugs.python.org/file16552/urllib-unquote-mixcase.patch2 I tried it, it seems fine to me
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0297.html
Removing external tracker bug with the id 'DOC-61659' as it is not valid for this tracker