Closed Bug 1463876 Opened 6 years ago Closed 6 years ago

Check if TLD exists before resolving DNS

Categories

(Firefox :: Address Bar, defect)

60 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1080682

People

(Reporter: u618149, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180517113820

Steps to reproduce:

Type a single word into the address bar that contains a "." This situation happens a lot when searching for a programming reference (eg. "array.length").


Actual results:

Firefox tries to resolve the search as a domain, because it looks like a domain "xxxxx.yyy". This results in a "server not found" error, because "http://array.length" is not a real domain.


Expected results:

The IANA maintains a list of all valid TLDs (http://data.iana.org/TLD/tlds-alpha-by-domain.txt). Instead of having to press tab to search, I think it would be better if Firefox checked the TLD list to see if the search could be a possible domain before trying to resolve it.
Status: UNCONFIRMED → RESOLVED
Has STR: --- → yes
Closed: 6 years ago
Component: Untriaged → Address Bar
OS: Unspecified → All
Hardware: Unspecified → All
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.