Closed
Bug 229684
Opened 20 years ago
Closed 20 years ago
application/octet-stream should have better description
Categories
(Core Graveyard :: File Handling, defect)
Core Graveyard
File Handling
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.7alpha
People
(Reporter: ian, Assigned: Biesinger)
Details
Attachments
(1 file, 1 obsolete file)
2.64 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
In: http://lxr.mozilla.org/seamonkey/source/uriloader/exthandler/nsExternalHelperAppService.cpp#342 ...we hardcode the description of application/octet-stream to "Binary Executable". This is inaccurate. It would be better to have it described as something like "Binary data or executable" or just "Binary file". (It also seems weird that this would depend on a per-platform basis -- the user's platform surely doesn't in any way affect the type of the file...)
Reporter | ||
Comment 1•20 years ago
|
||
".com" should presumably also be a "binary" extension, while we're at it.
![]() |
||
Comment 2•20 years ago
|
||
.bin files on mac are typically binhex files, which the OS knows how to handle. On Windows, they are typically actual binary files. Life is hard like that. ;) biesi, do you have time to write up a small patch for this? It'd be good to fix this in 1.7a....
Assignee | ||
Comment 3•20 years ago
|
||
this patch uses "Binary File". also, this patch contains a fix for the following bug: (I didn't feel like doing it in a separate bug, with a separate patch, separate reviews etc) If the OS has info for a type, but prefs contain neither info via type nor via ext, we would get the mimeinfo from extras.
Assignee | ||
Comment 4•20 years ago
|
||
Attachment #138137 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #138138 -
Flags: superreview?(bz-vacation)
Attachment #138138 -
Flags: review?(bz-vacation)
Assignee | ||
Updated•20 years ago
|
Assignee: file-handling → cbiesinger
Target Milestone: --- → mozilla1.7alpha
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
![]() |
||
Comment 5•20 years ago
|
||
Comment on attachment 138138 [details] [diff] [review] patch, also add "com" as extension Looks good. r+sr=bzbarsky I'm not sure whether "Binary data" or "Binary file" is better; I get "Binary file" is fine.
Attachment #138138 -
Flags: superreview?(bz-vacation)
Attachment #138138 -
Flags: superreview+
Attachment #138138 -
Flags: review?(bz-vacation)
Attachment #138138 -
Flags: review+
Assignee | ||
Comment 6•20 years ago
|
||
Checking in nsExternalHelperAppService.cpp; /cvsroot/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp,v <-- nsExternalHelperAppService.cpp new revision: 1.236; previous revision: 1.235 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•