Closed Bug 1702812 Opened 3 years ago Closed 3 years ago

URLs containing Unicode are displayed as punycode

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(firefox90 fixed)

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: sebo, Assigned: sebo)

References

()

Details

Attachments

(1 file)

URLs with Unicode domains are displayed using punycode in the console.

Steps to reproduce:

  1. Open the Console panel on a new tab
  2. Enable the "Requests" filter so that network requests are displayed within the console
  3. Go to https://www.flüge.de/

Expected result:
The website request should be displayed with the entered domain https://www.flüge.de/.

Actual result:
The domain is displayed in punycode, i.e. https://www.xn--flge-1ra.de/.

Sebastian

The URLs of network requests containing Unicode characters are now displayed encoded within the Console. Previously, the domains were shown in punycode and the paths had a URL encoded representation.
This change makes their display consistent with the one within the Network Monitor.

Users can still see the punycode version of the domain at the top of the Headers view. And the encoded version of the URL parameters is displayed within the raw request headers view.

Assignee: nobody → sebastianzartner
Status: NEW → ASSIGNED

Nice catch, thank you for the report, Sebo.

Honza

Severity: -- → S3
Has STR: --- → yes
Priority: -- → P3
Attachment #9213375 - Attachment description: Bug 1702812 - Encoded Unicode request URLs within the Console. r=jdescottes → Bug 1702812 - Encoded Unicode request URLs within the Console. r=nchevobbe
Attachment #9213375 - Attachment description: Bug 1702812 - Encoded Unicode request URLs within the Console. r=nchevobbe → Bug 1702812 - Encoded Unicode request URLs within the Console. r=jdescottes
Pushed by sebastianzartner@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/656d52ea68bb
Encoded Unicode request URLs within the Console. r=nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Backed out changeset 656d52ea68bb (Bug 1702812) for causing devtool failures in browser_webconsole_shows_reqs_from_netmonitor.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/70a3de78a1703815c976fdfd83e0973822772cef
Push with failures, failure log.

This also caused a spike of appearances of Bug 1701422.

Flags: needinfo?(sebastianzartner)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: 89 Branch → ---
Attachment #9213375 - Attachment description: Bug 1702812 - Encoded Unicode request URLs within the Console. r=jdescottes → Bug 1702812 - Encoded Unicode request URLs within the Console. r=nchevobbe

Thank you for the info, Alexandru. I've adjusted the test case now.

Flags: needinfo?(sebastianzartner)
Attachment #9213375 - Attachment description: Bug 1702812 - Encoded Unicode request URLs within the Console. r=nchevobbe → Bug 1702812 - Encoded Unicode request URLs within the Console. r=jdescottes
Pushed by sebastianzartner@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/96542ba73a76
Encoded Unicode request URLs within the Console. r=nchevobbe
Regressions: 1710011
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: