Closed Bug 958794 Opened 11 years ago Closed 11 years ago

Failback to search if TLD does not exist

Categories

(Firefox :: Address Bar, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 485588

People

(Reporter: yadobaka, Unassigned)

References

Details

Attachments

(1 file)

Attached image 404 for angular.js
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release) Build ID: 20131205075310 Steps to reproduce: Enter "angular.js" in the address bar Actual results: I get a 404 "Server not found" error. Expected results: If the URL cannot be found and/or if the TLD is unrecognized Firefox should failback to a search.
A fix for this probably will include verifying the validity of the domain's TLD. A quick google search for https://www.google.com/search?q=site%3A.js shows that no ".js" domains exist. I'm sure there is a better way to validate TLDs. But essentially, if the TLD does not exist Firefox should not try to load the page, and instead should fallback to a search.
Summary: Failback to search of website.tld is not found → Failback to search if TLD does not exist
This has to be done carefully though, because some people define funky custom DNS addresses. So maybe if it isn't a real TLD and the DNS query fails.
Severity: normal → enhancement
Component: Untriaged → Location Bar
OS: Windows XP → All
Hardware: x86 → All
Version: 26 Branch → Trunk
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: