Is there any plan to update encodeURI/decodeURI in ES4?

Shijun He hax.sfo at
Tue Jan 29 10:32:41 PST 2008

Current spec (ES3) is not fully compliant with the latest URI spec (RFC3986).
For example, some marks (such as ! * ) should be moved from unreserved
category to reserved category so their percent-encoded form should not
be decoded by encodeURI/encodeURIComponent function.

current: encodeURI("%21") == "!"
expect: encodeURI("%21") == "%21"

More information about the Es4-discuss mailing list