← 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

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

View on chromestatus.com