Closed
Bug 120113
Opened 23 years ago
Closed 23 years ago
files with unknown content type trigger horked download dialog
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: dbaron, Assigned: rpotts)
References
()
Details
(4 keywords)
Attachments
(1 file)
1.63 KB,
patch
|
Details | Diff | Splinter Review |
Due to rpotts' nsURILoader.cpp (rev 1.94) checkin yesterday, files without
extensions or with unknown extensions loaded via FTP are no longer being
displayed as text, but instead, a download dialog (somewhat mangled) is shown.
Steps to reproduce:
* load ftp://ftp.mozilla.org/README
Expected results:
* file displayed as text
Actual results:
* download dialog, with stuff about the type being #1 (#2) is displayed
Reporter | ||
Updated•23 years ago
|
Severity: normal → major
Reporter | ||
Comment 1•23 years ago
|
||
(This is what caused the leak increase on tinderbox, since the dialog is never
closed (until app shutdown), and thus leaks. I think it would manage not to
leak if it were closed.)
Reporter | ||
Comment 2•23 years ago
|
||
This causes problems on http://www.netflix.com/ too (which blizzard reports
doesn't send a 'Content-Type' header). And now I'm seeing the problem on
ftp://ftp.mozilla.org/ in addition to ftp://ftp.mozilla.org/README .
Reporter | ||
Updated•23 years ago
|
Summary: FTP files without / with unknown extensions trigger download dialog → files with unknown content type trigger horked download dialog
Assignee | ||
Comment 3•23 years ago
|
||
It turns out that the MIME service destroys the contents of the [out] parameter
passed into GetTypeFromURI(...) in failure cases :-(
-- rikc
Reporter | ||
Comment 4•23 years ago
|
||
getter_Copies destroys the original value.
Updated•23 years ago
|
Keywords: mlk,
regression
Comment 5•23 years ago
|
||
rpotts, are we close to fixing this? The huge leak # on tbox
is going to hide other leaks, we need to move on this quickly.
Either come up with a fix or back it out.
Comment 6•23 years ago
|
||
*** Bug 120216 has been marked as a duplicate of this bug. ***
Comment 8•23 years ago
|
||
*** Bug 120137 has been marked as a duplicate of this bug. ***
Comment 9•23 years ago
|
||
All ebay dynamic pages come without a content-type header. This bug makes ebay
completely unusable. Adding top100 keyword.
Comment 10•23 years ago
|
||
*** Bug 120227 has been marked as a duplicate of this bug. ***
Comment 11•23 years ago
|
||
Marking OS: all. In bug 120227, the ebay bug, marked as a duplicate of this bug,
the problem affected my Windows 98 machine, 0.9.7, Build ID: 2002011503.
OS: Linux → All
Comment 12•23 years ago
|
||
*** Bug 120283 has been marked as a duplicate of this bug. ***
Comment 14•23 years ago
|
||
the dups are coming in, we need to fix this today.
Assignee | ||
Comment 15•23 years ago
|
||
ok... i've just backed out the patch that was causing the problem...
-- rick
Comment 16•23 years ago
|
||
*** Bug 120335 has been marked as a duplicate of this bug. ***
Comment 17•23 years ago
|
||
looking at one of the dupes [bug 120335]: the error there reminds me of what i
had seen in bug 79837 [original comment]...not sure if it's related at all, though.
Comment 18•23 years ago
|
||
*** Bug 120320 has been marked as a duplicate of this bug. ***
Comment 19•23 years ago
|
||
*** Bug 120346 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 20•23 years ago
|
||
Since the patch was backed out, no longer a smoketest blocker.
Severity: blocker → major
Comment 21•23 years ago
|
||
thanks for backing this out rick. should we mark this fixed?
Comment 22•23 years ago
|
||
*** Bug 120496 has been marked as a duplicate of this bug. ***
Comment 23•23 years ago
|
||
*** Bug 120569 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 24•23 years ago
|
||
I'm closing this bug out. I've opened up bug #120590 to track the mime-service
issues on the trunk.
-- rick
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 25•23 years ago
|
||
*** Bug 120567 has been marked as a duplicate of this bug. ***
Comment 26•23 years ago
|
||
*** Bug 121961 has been marked as a duplicate of this bug. ***
Comment 27•23 years ago
|
||
-> file handling & qa.
Component: Networking → File Handling
QA Contact: benc → sairuh
Comment 28•23 years ago
|
||
vrfy'd fixed using 2002.01.29.xx comm bits on linux rh7.2, mac 10.1.2 and win2k.
Status: RESOLVED → VERIFIED
Comment 29•23 years ago
|
||
It's not quite over yet.
Saving as a web page does not work because of this. I just files a new bug:
bug #128162
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•