Closed Bug 227711 Opened 21 years ago Closed 21 years ago

wrong mime type shown when helper app entry present

Categories

(Core Graveyard :: File Handling, defect, P1)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.6beta

People

(Reporter: Biesinger, Assigned: Biesinger)

Details

Attachments

(1 file)

1. create a text/plain helper app entry, extension .txt, check "always ask" 2. load http://www.hixie.ch/tests/adhoc/http/content-type/001.txt (real type is application/x-hixie-test) 3. be surprised as you get told the type is text/plain
Attachment #136978 - Flags: review?(bz-vacation)
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.6beta
Comment on attachment 136978 [details] [diff] [review] patch Doh. r=bzbarsky
Attachment #136978 - Flags: review?(bz-vacation) → review+
Attachment #136978 - Flags: superreview?(darin)
Comment on attachment 136978 [details] [diff] [review] patch >Index: nsExternalHelperAppService.cpp >+ LOG(("Extension '%s' matches mime info: %s\n", aFileExt, matches ? "yes" : "no")); i still think this kind of logging is extraneous, especially since this is compiled into release builds. sr=darin
Attachment #136978 - Flags: superreview?(darin) → superreview+
Comment on attachment 136978 [details] [diff] [review] patch this fixes a problem that a wrong mime type is being displayed, and (related) that "never ask again" does not work. it should be a pretty safe patch.
Attachment #136978 - Flags: approval1.6?
Comment on attachment 136978 [details] [diff] [review] patch a=asa (on behalf of drivers) for checkin to Mozilla 1.6
Attachment #136978 - Flags: approval1.6? → approval1.6+
Checking in nsExternalHelperAppService.cpp; /cvsroot/mozilla/uriloader/exthandler/nsExternalHelperAppService.cpp,v <-- nsExternalHelperAppService.cpp new revision: 1.234; previous revision: 1.233 done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: