Open Bug 1208896 Opened 10 years ago Updated 3 years ago

Internationalized Domain Name link broken on click, works on Enter

Categories

(Core :: Networking: DNS, defect, P3)

40 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: jehan, Unassigned)

Details

(Whiteboard: DUPE [necko-backlog])

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0 Build ID: 20150827075926 Steps to reproduce: 1/ On this page: http://linuxfr.org/users/bortzmeyer/journaux/consultation-republique-numerique-ouverte Click the link called "site parodique" which is supposed to open http://république-numérique.fr/ 2/ I get an error "Firefox can't find the server at r%c3%a9publique-num%c3%a9rique.fr." This is wrong since the domain exists. 3/ Click on the address bar to get the keyboard focus and click the "Enter" button. Actual results: Results: the domain name actually resolves on this second attempt only (clicking Enter). Expected results: Expected: it should have already resolved on clicking the link. I did not change anything when I focused the address bar and hit Enter.
Note also that the first time I went on the link, I believe it tried to open www.république-numérique.fr instead, which I believe corresponds to bug 66183 (adding www. when domain name resolution failed at first), and which failed too (even more since this domain has no www. subdomain). But I can't reproduce it anymore. Now it seems to stick to the domain name without www. and just fails immediately. Not sure if this is relevant.
Yes, it's a dupe. FF adds "www" and fails to resolve the domain.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Hi, Sorry to reopen, but no this is not a dupe of bug 66183, which is why I cited it! As I said, even when going to this address without Firefox adding www. Actually when looking the description of bug 66183, comment 2, you see that the problem is that: > [Firefox] automatically tries adding a "www." whenever a second-level domain name you type into the location bar doesn't resolve But république-numérique.fr is an existing domain name and is supposed to resolve! So Firefox should never even have to try the www. variant. I even explained that if I click Enter in the address bar **without changing anything in the address**, it suddenly works. After more investigation, it seems the bug happens only on percent-encoded variants of the domain name (even though this is apparently valid for the host name to be encoded according to RFC 3986, section 3.2.2). So clicking on http://république-numérique.fr/ works fine, but clicking on http://r%C3%A9publique-num%C3%A9rique.fr/ (which should be exactly the same thing) does not work. This is a completely different problem to bug 66183 (it only happens to trigger this other bug, since the name resolution fails).
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Component: Untriaged → Networking: DNS
Product: Firefox → Core
Whiteboard: DUPE
Whiteboard: DUPE → DUPE [necko-backlog]
Priority: -- → P1
Priority: P1 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.