New issue
Advanced search Search tips

Issue 904132 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Nov 12
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

omnibox completions sometimes display punycode

Reported by fe...@rewer.com, Nov 10

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36

Steps to reproduce the problem:
1. Enter something with an umlaut in the url bar
2. Look at auto-complete
3. See the bug

What is the expected behavior?
Normal URL with umlaut

What went wrong?
Weird URL

Did this work before? No 

Chrome version: 70.0.3538.77  Channel: stable
OS Version: OS X 10.13.6
Flash Version: 31.0.0.122
 
Bildschirmfoto 2018-11-10 um 19.48.04.png
15.0 KB View Download
Components: UI>Browser>Omnibox
Can please attach a screencast to this report, what you exactly enter into the Omnibox to reproduce the issue? Thanks in advance.
Labels: Needs-Triage-M70
Labels: Triaged-ET Target-72 M-72 FoundIn-71 FoundIn-70 FoundIn-72
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on mac 10.13.6 using chrome reported version #70.0.3538.77 and latest canary #72.0.3608.0. Issue is specific to OS-mac.
This is a non-regression issue as it is observed from M60 old builds. 
Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!
Owner: jdonnelly@chromium.org
Summary: omnibox completions sometimes display punycode (was: URL bug)
Mac triage: over to jdonnelly@ for omnibox triage :)
Cc: mea...@chromium.org jdonnelly@chromium.org
Owner: ----
CC meacer@ for his opinion

I know the omnibox dropdown is not a security service.  Nonetheless, I'm curious what you think we should do here:

If a user types / pastes a punycode URL, should we render it as punycode always?  Or maybe render it sometimes as punycode and sometimes not.  The first option is more UI-friendly.  The middle ground might be able to be done based on whether the omnibox--if the user was on the page itself--was rendered as punycode or not.  Or maybe we should always display punycode, as that clearly prevents users from being social engineered to typing / pasting a URL into the omnibox that can led them somewhere strange.

(For the reference, this is not as far as I know an issue with URLs the user visited before.  If I'm wrong on this, please file a new bug.)
IMO this is expected.

If you end up navigating to the URL in question (ÿoutube.com), the omnibox will display it as punycode because it doesn't pass UrlFormatter's spoof checks. So the suggestions UI is showing what the omnibox will eventually show.

Note that this doesn't happen with all punycode domains. If UrlFormatter determines that it's safe, both the omnibox and suggestions will display the domain as unicode instead (e.g. http://xn--41a.ws).
Status: WontFix (was: Untriaged)
Oh, so we're already doing the middle ground and this is working as intended. :-)

Great!

Sign in to add a comment