Closed Bug 514760 Opened 15 years ago Closed 15 years ago

[ES3.1]decodeURI() should throw URIError for percent encoded overlong UTF-8 sequence

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 511859

People

(Reporter: masa141421356, Unassigned)

References

()

Details

Now, ES3.1 draft explicitly requires to throw for percent encoded overlong UTF-8 sequencs. (At current implementation, deoccdeURI() returns U+FFFD.)

https://mail.mozilla.org/pipermail/es5-discuss/2009-July/002945.html
http://wiki.ecmascript.org/doku.php?id=es3.1:es3.1_proposal_working_draft

Please see also bug 172699 and bug 511859.
Summary: [ES3.1]decodeURI() should throw URIError for percent eocded overlong UTF-8 sequence → [ES3.1]decodeURI() should throw URIError for percent encoded overlong UTF-8 sequence
Blocks: es5
My requests in bug 511859 comment 5 would subsume this; it seems right and proper to me to defeat the overlong UTF-8 hydra in a single bug.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.