Closed
Bug 22453
Opened 25 years ago
Closed 25 years ago
Crash on accessing file:// urls for nonexistant and unknown-mimetype files
Categories
(Core :: Networking, defect, P3)
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: shalabh, Assigned: jud)
References
Details
Milestone 12.
My Mozilla crashes everytime I do the following:-
Case I
1. Type file:///sfdydhbc (some nonexistant file url) in addr box and press enter
2. Unknown File Type box pops up. Click on cancel.
3. Click anywhere on the mozilla window.
Case II
1. Type file://c:/ and press enter
2. Directory listing shows up. Click on a file of an unknown mimetype(any file
without extention would do).
3. Unknown File Type box pops up. Click on cancel.
4. Click anywhere on the mozilla window.
Both crashes occur in GKHTML.DLL. (sorry no stack trace - release build)
For Case I it should report 'no such file' instead of saying 'unknown file
type'. Should not crash in any case.
In Win95 on daily build 1999122708:
I have found something simular.
When I enter file:home.html. It's converted to file://home.html/, the download
dialog pops up, and if you choose to save what it found, it shows an alert box
saying "Unknown error", when you close the alert, mozilla crashes in GKHTML.DLL.
Comment 2•25 years ago
|
||
Sounds like a number of different problems here both with parsing file: URLs,
and with handling them. Maybe we should file separate bug reports.
Comment 3•25 years ago
|
||
The file:home.html to file://home.html/ stuff is the well known problem with the
current URLParser which interprets home.html as the hostname. See related bugs
17382 and 18148.
Updated•25 years ago
|
Target Milestone: M14
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•25 years ago
|
||
law and/or mateka fixed the cancel crash problem awhile ago.
You need to log in
before you can comment on or make changes to this bug.
Description
•