urllib.encodeURIComponent gives garbage output on non-byte values

Bug #585703 reported by Matt Giuca
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mars
Fix Released
High
Matt Giuca

Bug Description

For example:

?> encodeURIComponent([256])
"%G0"

It should be an error if any element of the input is outside the range [0,255].

Tags: library

Related branches

Revision history for this message
Matt Giuca (mgiuca) wrote :

Fixed in trunk r1071.

Changed in mars:
status: Triaged → Fix Committed
Matt Giuca (mgiuca)
Changed in mars:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.