Chrome appends .html on movies

Bug #608265 reported by Jack Ireland on 2010-07-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Helioviewer.org
Medium
Jaclyn Beck

Bug Description

 Chrome 5.0.375.99 on OS X 10.6.3 appends .html to .mov files created by helioviewer.org.

Jaclyn Beck (jabeck) on 2010-07-27
Changed in helioviewer.org:
importance: Undecided → Medium
Jaclyn Beck (jabeck) wrote :

When the code that lets you download the file is run, it sets the content-disposition: header("Content-Disposition: attachment; filename=\"" . basename($url) . "\";");. Normally, browsers can tell by the extension on the filename what the content-type should be. Chrome (and possibly Safari) doesn't know what to do with "mov", so it just returns html. I changed it so that if the filetype is "mov", the content-type is set to "video/quicktime", which Chrome knows how to handle.

Changed in helioviewer.org:
assignee: nobody → Jaclyn Beck (jabeck)
milestone: none → 2.0.3
status: New → Fix Committed
Keith Hughitt (keith-hughitt) wrote :

Related issue when serving other file-types as attachments:
http://code.google.com/p/chromium/issues/detail?id=1503

summary: - [HV] Chrome appends .html on movies
+ Chrome appends .html on movies
Changed in helioviewer.org:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.