← Back to release summary

Make URL parser to not decode percent-encoded ASCII characters in URL's path

Category
Miscellaneous
Type
No developer-visible change
Status
Enabled by default (Chrome 118)
Intent stage
None

WPT details: https://wpt.fyi/results/url/url-constructor.any.html%3Fexclude%3D(file%7Cjavascript%7Cmailto)?label=master&label=experimental&aligned

Summary

Make URL parser to not decode percent-encoded ASCII characters in URL's path, such as "%41" ('A'). Before this change: > const url = new URL("http://example.com/%41"); > url.href "http://example.com/A" After this change: > const url = new URL("http://example.com/%41"); > url.href "http://example.com/%41"

Standards & signals

Ecosystem

View on chromestatus.com