New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 910238 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug
Team-Security-UX



Sign in to add a comment

All URLs that contain RTL characters are shown as punycode in the permissions dialog.

Project Member Reported by carlosil@chromium.org, Nov 29

Issue description

URLs that contain RTL characters show up as punycode in the permissions dialog, whether or not they meet the criteria to be shown as punycode in the URL bar or other surfaces. This reproduces in 72.0.3625.0


 
permissions1.png
15.5 KB View Download
permission2.png
18.4 KB View Download
alertWAI1.png
16.4 KB View Download
alertWAI2.png
16.2 KB View Download
This seems exclusive to RTL characters, other IDN characters seem to show up fine in the dialog.
It looks like the permission prompt uses GURL::host_piece() [1] rather than a url_formatting function.

[1] https://cs.chromium.org/chromium/src/chrome/browser/custom_handlers/register_protocol_handler_permission_request.cc?l=34
Ignore c#2 -- the permission view is filled using url_formatter::FormatUrlForSecurityDisplay (as it should!) but we need to resolve our strong RTL handling for that (see Issue 650760).
Owner: hkamila@chromium.org
Status: Assigned (was: Untriaged)
hkamila: Can you PTAL? Feel free to reassign as appropriate. Thanks.

Sign in to add a comment