Closed Bug 145521 Opened 22 years ago Closed 22 years ago

Unknown protocol name in URL is interpreted as host name

Categories

(SeaMonkey :: Location Bar, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 100176

People

(Reporter: fraBugzilla, Assigned: adamlock)

Details

Mozilla interprets an URL string like "xyz:xxxxx" (or "find:xxxxx" or any other
unknown protocol name) as an attempt to initiate a connection to a host named
"xyz", successfully ending up in http://www.xyz.com/

How to recreate: Enter xyz:abcde into the URL field and press return.

Expected result: Mozilla should complain about xyz: being an unknown protocol
(or whatever the technical name for http:, ftp:, mailto: etc etc is).
Forgot to say: Mozilla 1.0 RC1
Confirmed and to adamlock.  URI fixup seems to look for "://" instead of just
":".
Assignee: hewitt → adamlock
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
Related to bug 86486.
Dupe of bug 100176. I've just submitted a patch against that bug.

*** This bug has been marked as a duplicate of 100176 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.