Edge over-decoding URLs

Fixed Issue #14464636

Details

Author
Ilari S.
Created
Oct 31, 2017
Privacy
This issue is public.
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Edge appears to be over-decoding URLs pasted into the address bar. For example, try pasting https://www.bing.com/%252F into the address bar. This is not just a visual display issue: for example, window.location.href will see the over-decoded value, and copying out of the URL bar results in a different value from what was pasted in.

  • Edge 40.15063.674.0 - changes to https://www.bing.com/%2F
  • IE 11.674.15063.0 - correctly preserves https://www.bing.com/%252F
  • Chrome 62.0.3202.75 - also correctly preserves.

I checked “This issue affects standards compliance,” since, for example the Location interface (https://www.w3.org/TR/html5/browsers.html#location) implements URLUtils (https://www.w3.org/TR/html5/infrastructure.html#urlutils), which has properties as discussed here: https://www.w3.org/TR/html5/references.html#refsURL, which refers to the URL standard, which states, in section 3.3, that URLs may contain percent-encoded characters: https://tools.ietf.org/html/rfc3986#section-3.3 and section 2.4, which states “Once produced, a URI is always in its percent-encoded form.” https://tools.ietf.org/html/rfc3986#section-2.4

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Grisha L.”

      Changed Assigned To to “Dave B.”

      Changed Assigned To from “Dave B.” to “David S.”

      Changed Assigned To from “David S.” to “Siddharth R.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Siddharth R.” to “Marco M.”

      Changed Status from “Confirmed” to “Fixed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in