Closed
Bug 17382
Opened 25 years ago
Closed 25 years ago
missing forward slash in URL will not load
Categories
(Core :: Networking, defect, P3)
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: iShaterin, Assigned: andreas.otte)
References
()
Details
(Whiteboard: [PDT+])
Attachments
(1 file)
897 bytes,
patch
|
Details | Diff | Splinter Review |
If a user enters a URL with only one forward slash into the location box and presses ENTER the browser crashes. For that matter if the user enters http:/, http: , or http:/// (3 or more /'s) the browser crashes. I'm using the most current build 10/26/99
Updated•25 years ago
|
Assignee: don → gagan
Component: Browser-General → Necko
Updated•25 years ago
|
Target Milestone: M11
Assignee | ||
Comment 1•25 years ago
|
||
Is this a real crash or just an uncaught JS exception?
Assignee | ||
Comment 2•25 years ago
|
||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 3•25 years ago
|
||
I don't see this crash on win32 or linux builds from 11/5. marking fixed. reopen if there still is a problem. thx
This is almost fixed--i'm not sure if this needs to be written up as a seperate bug, but it seems part of the fix to this bug so I'll report it here. The browser no longer crashes if only one slash is included (i.e. http:/www.somesite.com) the new problem is that the fix just adds two forward slashes resulting in a total of three (e.g. the previous url resolves to http:///www.somesite.com) While the browser no longer crashes it also doesn't go to the site. I guess this could be considering functions as designed but it seems some smarts are in order here. If we are already adding two forward slashes if none are present, shouldn't we add just one if only one slash is present?
Assignee | ||
Comment 6•25 years ago
|
||
This is an urlparser problem. It does not catch the :/ case, thinks this is a file url and puts /www.mozilla.org into the path(!), adding // to the scheme, resulting in http:///www.mozilla.org which will not load because there is no host.
Resolution: FIXED → ---
Summary: missing forward slash in URL causes the browser to crash → missing forward slash in URL will not load
Assignee | ||
Comment 10•25 years ago
|
||
The urlparser has to know if there is a host expected or not. This is the nsHostURL/nsNoHostURL stuff. See bug 18148.
Comment 11•25 years ago
|
||
Moving what's not done for M12 to M13.
Comment 12•25 years ago
|
||
Bulk move of all Necko (to be deleted component) bugs to new Networking component.
Assignee | ||
Updated•25 years ago
|
Assignee: warren → andreas.otte
Assignee | ||
Comment 13•25 years ago
|
||
assigning this bug to me per Warrens request
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Comment 14•25 years ago
|
||
Fixed by Andreas' changes that I just checked in.
Assignee | ||
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Assignee | ||
Comment 15•25 years ago
|
||
reopened because of backout
Assignee | ||
Updated•25 years ago
|
Target Milestone: M13 → M14
Assignee | ||
Comment 16•25 years ago
|
||
This will not make it into M13
Comment 17•25 years ago
|
||
Clearing FIXED resolution due to reopen.
Assignee | ||
Comment 19•25 years ago
|
||
This is fixed now
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•