Closed
Bug 429121
Opened 17 years ago
Closed 17 years ago
encodeURIComponent wrongly uses lowercase for hex representation
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mguillemot, Unassigned)
References
Details
Attachments
(1 file)
692 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080325 Ubuntu/7.10 (gutsy) Firefox/2.0.0.13
Build Identifier:
ECMA 262 3rd edition precisely defines p 80, 15.1.3 that encodeURIComponent should use upper case for hex representation:
"19. Let S be a string containing three characters “%XY” where XY are two uppercase hexadecimal digits encoding the value of Result(18)."
but Rhino uses lower case.
Reproducible: Always
Steps to Reproduce:
encodeURIComponent('$ a ;')
Actual Results:
%24%20a%20%3b
Expected Results:
%24%20a%20%3B
Comment 2•17 years ago
|
||
Fixed
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•