Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 732954 - issue8135 : urllib.unquote doesn't decode mixed-case percent escapes
issue8135 : urllib.unquote doesn't decode mixed-case percent escapes
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python (Show other bugs)
5.8
All Linux
urgent Severity high
: rc
: ---
Assigned To: Dave Malcolm
BaseOS QE - Apps
: ZStream
Depends On:
Blocks: 734005 772956
  Show dependency treegraph
 
Reported: 2011-08-24 05:36 EDT by Cedric Buissart
Modified: 2013-10-03 20:25 EDT (History)
4 users (show)

See Also:
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 01:50:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
backported upstream patch from 8135 (2.20 KB, patch)
2011-08-24 05:36 EDT, Cedric Buissart
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Python 8135 None None None Never
Red Hat Product Errata RHBA-2012:0297 normal SHIPPED_LIVE python bug fix update 2012-02-20 10:05:27 EST

  None (edit)
Description Cedric Buissart 2011-08-24 05:36:05 EDT
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
Comment 13 errata-xmlrpc 2012-02-21 01:50:14 EST
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
Comment 14 Red Hat Bugzilla 2013-10-03 20:25:25 EDT
Removing external tracker bug with the id 'DOC-61659' as it is not valid for this tracker

Note You need to log in before you can comment on or make changes to this bug.