Closed
Bug 143148
Opened 23 years ago
Closed 23 years ago
Clicking on link to file shows file as text
Categories
(Tech Evangelism Graveyard :: English Other, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla2, Unassigned)
References
()
Details
(Whiteboard: [syntax-html][has contact])
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0+)
Gecko/20020505
BuildID: 2002050508
Clicking on the link which should start a download actually makes mozilla
attempt to open the file as text
Reproducible: Always
Steps to Reproduce:
1. go to http://www.sun.com.au/2002-0226/anniversary/#music
2. click on the link you see as "mp3 format" near the bottom
3. mozilla starts to open this as a page (you'll need to stop it as it is a 6MB+
page)
Actual Results: you see the MP3 binary loaded in the page
Expected Results: download the file
Comment 1•23 years ago
|
||
-> Evangelism
The server sends the wrong mime-Type for this file (text/plain).
Mozilla can render text plain and you see the result..
Assignee: sgehani → momoi
Status: UNCONFIRMED → NEW
Component: XP Apps → English: Non-US
Ever confirmed: true
Product: Browser → Tech Evangelism
QA Contact: paw → jeesun
Version: other → unspecified
Reporter | ||
Comment 2•23 years ago
|
||
FYI: IE6 recognises this file as a media file and offers to play it for you
Comment 3•23 years ago
|
||
IE6 does content sniffing/or use the file extension but that violates the
standards.
Mozilla use the correct way:
1. Use the mime-type
if Http/0.9 server without mime-type in the header:
2. try to find the correct mime-type via the file extension
if that fails:
3. Content sniffing
The correctmime-type is: application/x-mp3 and mozilla plays it if a plugin or
via helper app.
or application/octet-stream and you get a download dialog.
workaround for broken servers :
use right click/save link target as
Comment 4•23 years ago
|
||
The problem persists as of build 2002053012 (1.0). Doing a save target as...
only allows me to remove the .txt extension and put the file in quotes (which
then allows it to save properly). This has been happening to me for just about
every filetype except gz and zip, which are recognized as WinZip (on my system).
rar files do this as well.
Comment 5•23 years ago
|
||
Sent e-mail via http://www.sun.com.au/feedback/
Whiteboard: [syntax-html][has contact]
Comment 6•23 years ago
|
||
Amazing response from Sun. That was fast !
"Thank you for your feedback.
The proper MIME type has been added to the server. Apologies for any
inconvenience caused."
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 7•22 years ago
|
||
Mass reassigning English-Other bugs to general default assignees.
Assignee: momoi → english-other
QA Contact: jeesun → english-other
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•