Closed Bug 164807 Opened 22 years ago Closed 22 years ago

protocol no longer defaults to "http" when specifying a port

Categories

(SeaMonkey :: Location Bar, defect)

x86
Windows NT
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 155344

People

(Reporter: lode.leroy, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826

entering "localhost" in the location bar resolves to "http://localhost:80"
entering "localhost:80" also used to resolve to the same url
but no longer does (since Mozilla 1.1 I think). It tries a protocol
"localhost" which does not exist: there now is an "Alert" box stating
that "localhost is not a registered protocol".



Reproducible: Always

Steps to Reproduce:
1. type "localhost:80" in the address bar
2.
3.

Actual Results:  
(javascript) alert "localhost is not a protocol"

Expected Results:  
not interpret "localhost" as a protocol in "localhost:80" 
but as a synonym for "http://localhost:80"
dup of "URL bar doesn't understand ports without protocol"

*** This bug has been marked as a duplicate of 155344 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Component: Networking → URL Bar
QA Contact: benc → claudius
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.