Closed
Bug 903428
Opened 12 years ago
Closed 7 years ago
Webm attachments "details" page lie about browser support
Categories
(Bugzilla :: Attachments & Requests, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 670623
People
(Reporter: kats, Unassigned)
Details
Attachments
(1 file)
|
94.73 KB,
image/png
|
Details |
See screenshot. If I just click on the attachment directly it plays fine, but going to the "details" page shows an incorrect error message.
Comment 1•12 years ago
|
||
That's because we look at the Accept: header to determine if the attachment can be displayed in the browser itself, and video/ is not part of this header. When you look at the attachment directly, we ignore this header, which is why you can view the video.
| Reporter | ||
Comment 2•12 years ago
|
||
I would argue that the Bugzilla behaviour is wrong, then.
Technically FF sends a "*/*" as part of the accept header, which includes video/. I understand that using "*/*" means that you'll just try to display every single attachment, including things like zip files which will throw up download dialogs, and that is undesirable.
However obviously there is some sort of whitelist because text/plain and image/png files show up fine in the "details" page, even though they are not in the accept header either. (My current accept header is "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"). Maybe we just need to add video/webm to the whitelist?
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•