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 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"
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"