Closed
Bug 116079
Opened 23 years ago
Closed 23 years ago
Dragging files with no extension to browser downloads the file
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect)
Tracking
()
VERIFIED
FIXED
mozilla1.0.1
People
(Reporter: mikepinkerton, Assigned: sdagley)
References
Details
(Keywords: regression, Whiteboard: [adt2 RTM] [ETA 05/31])
Attachments
(1 file)
1.37 KB,
patch
|
bryner
:
review+
mikepinkerton
:
superreview+
jud
:
approval+
|
Details | Diff | Splinter Review |
Debug mozilla build from 12/19/01.
drag a text file called "foopy" to the browser from the finder.
it'll download it instead of displaying it. Drag foopy.c and all is well.
this seems to regress every other week or so.
Reporter | ||
Updated•23 years ago
|
Comment 1•23 years ago
|
||
Adding nsbeta1 keyword to all regressions so they *get some love* and attention.
Updated•23 years ago
|
Target Milestone: --- → mozilla1.0.1
Comment 2•23 years ago
|
||
sorry, works fine on windows. what can I say?
Assignee: blaker → pinkerton
Target Milestone: mozilla1.0.1 → ---
Reporter | ||
Comment 3•23 years ago
|
||
xpapps. if blake doesn't have a mac, get him one. these bugs aren't mine.
Assignee: pinkerton → trudelle
Updated•23 years ago
|
Whiteboard: [adt3]
Comment 7•23 years ago
|
||
Mass moving nsbeta1+/adt3 bugs assigned to Navigator team engineers out to
target milestone 1.0.1. Please confine your attentions to driving down our list
of TM 1.0 bugs for beta. Better to help, debug, or test one of them than fix
one of these.
Target Milestone: mozilla1.0 → mozilla1.0.1
Reporter | ||
Comment 8•23 years ago
|
||
i guess i'm going to have to fix this myself.
Assignee: jaggernaut → pinkerton
Whiteboard: [adt3] → [adt2]
Target Milestone: mozilla1.0.1 → mozilla1.0
Reporter | ||
Comment 9•23 years ago
|
||
the problem is on line 294 of nsInternetConfigService.cpp. For some reason, IC
isn't filling in the mimetype field of the ICEntry even though it should have
that info because it knows about the type/creator.
To fix another bug, pchen changed it so that we default to _binary_ if we don't
get a mimetype. That's why we try to d/l it.
over to dagley, who might be able to coax a little more out of IC than we
currently do.
Assignee: pinkerton → sdagley
Assignee | ||
Comment 10•23 years ago
|
||
It seems the IC mappings for mime types aren't very agressive if only the type
and creator are known. This patch implements a bandaid for the most common
case, where the file type of the file is 'TEXT'. A more robust solution we may
consider in the futre is examining the file contents to determine the type.
Comment 11•23 years ago
|
||
Comment on attachment 81455 [details] [diff] [review]
Patch to be smarter about setting mime type for 'TEXT' files
r=bryner
Attachment #81455 -
Flags: review+
Comment 12•23 years ago
|
||
sr=hyatt
Assignee | ||
Comment 13•23 years ago
|
||
Fix checked in on trunk. Forgot to mention that this bandaid is the solution
pinkerton and I agreed was the acceptable one for now.
Reporter | ||
Comment 15•23 years ago
|
||
Comment on attachment 81455 [details] [diff] [review]
Patch to be smarter about setting mime type for 'TEXT' files
hyatt sr'd but didn't use the patch manager
Attachment #81455 -
Flags: superreview+
Comment 16•23 years ago
|
||
This sounds like a good candidate to take in a couple, as we are ramping down.
adt1.0.0- [adt2 RTM]
Comment 17•23 years ago
|
||
adt1.0.0+ (on ADT's behalf) for approval to checkin to the 1.0 branch, pending
Driver's approval. After, checking in, please add the fixed1.0 keyword.
Comment 18•23 years ago
|
||
changing to adt1.0.1+ for checkin to the 1.0 branch. Please get drivers
approval before checking in.
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.0.1
Comment 19•23 years ago
|
||
please checkin to the 1.0.1 branch ASAP. once there, remove the mozilla1.0.1+
keyword and add the fixed1.0.1 keyword.
Keywords: mozilla1.0.1+
Updated•23 years ago
|
Attachment #81455 -
Flags: approval+
Assignee | ||
Comment 20•23 years ago
|
||
Fix checked in on MOZILLA_1_0_BRANCH tag
Status: NEW → RESOLVED
Closed: 23 years ago
Keywords: mozilla1.0.1+ → fixed1.0.1
Resolution: --- → FIXED
Comment 21•23 years ago
|
||
Verified fixed Mac OS X trunk build 2002060403 and Mac OS X branch build 2002060405
Status: RESOLVED → VERIFIED
Keywords: fixed1.0.1 → verified1.0.1
You need to log in
before you can comment on or make changes to this bug.
Description
•