Closed
Bug 874072
Opened 12 years ago
Closed 12 years ago
Firefox plays .mp3 file instead of downloading it.
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 861090
People
(Reporter: SeriousTom, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130511120803
Steps to reproduce:
I have a website that I take care of and I upload .mp3 files to it. On the website you have a choice to either click on a Play button to listen to the mp3 that links to a .m3u file to stream it. The other button is to download it and it links to the .mp3 file.
Actual results:
The link for downloading now just opens a new page, that doesn't exist on my website and plays the .mp3 instead of downloading. The page is the path to the linked .mp3
Expected results:
It should have just downloaded.
You can test it here, just click any download link.
http://www.fbcdixon.net/html/media.html
This was all working just last week before updating to Firefox 21.
You need to configure your server to set the field Content-Disposition so the user will have the choice to download the file or use it:
http://en.wikipedia.org/wiki/MIME#Content-Disposition
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Comment 2•12 years ago
|
||
Or just put a "download" attribute on that <a>.
You need to log in
before you can comment on or make changes to this bug.
Description
•