User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030516 http://localhost:8085 is a fully formed URL and Firebird should go to that instead it does some sort of find and instead takes user to http://www.localhost.net.au/ Reproducible: Always Steps to Reproduce: 1. Go to http://localhost:8085 2. Wait 3. You'll instead be taken to http://www.localhost.net.au/ Actual Results: Was taken to: http://www.localhost.net.au/ Expected Results: Should be displaying: http://localhost:8085
I wanted to clarify that this happens when there isn't a service running at the specified port. So in the example I gave, Firebird goes to http://www.localhost.net.au/ when there is no service running on port 8085, instead of displaying some sort of error message.
This is probably caused by Feature 'Internet Keywords', which redirects you to the first matching result found for "localhost" by google. So as your DNS resolving fails because of the not running service on the specified port Moz. Firebird uses the 'I'm feeling lucky" redirect to the first page google finds. Since this feature is switched on by default (See also http://www.mozilla.org/docs/end-user/internet-keywords.html) this bug should get resolved "invalid". You can disable this feature by setting preference "keyword.enabled" = FALSE after typing about:config in the address bar!
In fact I found another bug, which deals with the problem of using http:// URIs as Internet Keywords. As I second the reporter's argumentation in bug #95390 to NOT use URI starting with http:// as IK I'll reopen this one and mark it as duplicate of bug #95390!
*** This bug has been marked as a duplicate of 95390 ***
REOPEN: IK+localhost is getting its own bug.
*** This bug has been marked as a duplicate of 178123 ***