Problem/Motivation

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.

Steps to reproduce

Proposed resolution

Remove the code.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3568492

Command icon Show commands

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

longwave created an issue. See original summary.

adhershmnair made their first commit to this issue’s fork.

longwave’s picture

Status: Active » Needs review
smustgrave’s picture

Status: Needs review » Reviewed & tested by the community

Seems straight forward.

amateescu’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed 138129b6994 to main and 5cf03b24152 to 11.x. Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • amateescu committed 5cf03b24 on 11.x
    task: #3568492 Remove IE support from Drupal.url.toAbsolute()
    
    By:...

  • amateescu committed 138129b6 on main
    task: #3568492 Remove IE support from Drupal.url.toAbsolute()
    
    By:...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.