Closed (fixed)
Project:
Drupal core
Version:
main
Component:
javascript
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2026 at 12:55 UTC
Updated:
16 Apr 2026 at 08:35 UTC
Jump to comment: Most recent
Drupal.url.toAbsolute() in drupal.js contains old IE compatibility code:
// Decode the URL first; this is required by IE <= 6. Decoding non-UTF-8
// strings may throw an exception.
try {
url = decodeURIComponent(url);
} catch (e) {
// Empty.
}
It is likely this can be removed.
Remove the code.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
longwaveComment #5
smustgrave commentedSeems straight forward.
Comment #6
amateescu commentedCommitted and pushed 138129b6994 to main and 5cf03b24152 to 11.x. Thanks!