Closed
Bug 122400
Opened 23 years ago
Closed 23 years ago
Mime type text/x-c-code detected automatically, but not handled
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
People
(Reporter: hacksaw, Assigned: asa)
Details
I was trying to look at a foo.c file, and mozilla decided is was a type
text/x-c-code. Fine and well. But it then offered to download it, which I didn't
want. What would be best is if I could say "just show it as plain text, all right?"
Specifically, Mozilla should offer to handle text/* internally, perhaps in the
manner of the Unix command "less", which encodes unprintable characters.
Otherwise, Mozilla should not assign it a mime type at all.
Comment 1•23 years ago
|
||
Mozilla didn't assign the MIME type for the file, it was the server the one that
told Mozilla that info.
Then it's up to you to decide what to do whenever Mozilla finds a new kind of
file that it doesn't know about.
Comment 2•23 years ago
|
||
Actuall, there is no server involved. I bet /etc/mime.types has an entry for
"*.c", though. Mozilla just asks the OS what type ".c" files are and the OS sez
"text/x-c-code".
duplicate of '[RFE] "view as text" option for unknown mime type'
*** This bug has been marked as a duplicate of 21985 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•