Bug 732954

Summary: issue8135 : urllib.unquote doesn't decode mixed-case percent escapes
Product: Red Hat Enterprise Linux 5 Reporter: Cedric Buissart 🐶 <cbuissar>
Component: pythonAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: urgent    
Version: 5.8CC: briang, cww, katzj, psplicha
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: python-2.4.3-45.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-21 06:50:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 734005, 772956    
Description Flags
backported upstream patch from 8135 none

Description Cedric Buissart 🐶 2011-08-24 09:36:05 UTC
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 :

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:

>>> from urllib import unquote
>>> unquote("%fc")
>>> unquote("%FC")
>>> unquote("%Fc")
>>> unquote("%fC")

Expected behaviour:

>>> unquote("%Fc")
>>> unquote("%fC")

Additional info:
attached : backported patch http://bugs.python.org/file16552/urllib-unquote-mixcase.patch2
I tried it, it seems fine to me

Comment 13 errata-xmlrpc 2012-02-21 06:50:14 UTC
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.


Comment 14 Red Hat Bugzilla 2013-10-04 00:25:25 UTC
Removing external tracker bug with the id 'DOC-61659' as it is not valid for this tracker