Open Bug 1172332 Opened 9 years ago Updated 2 years ago

Question mark before file extension causes wrong icon to be displayed in the downloads panel

Categories

(Firefox :: Downloads Panel, defect)

38 Branch
x86_64
Linux
defect

Tracking

()

People

(Reporter: geoffreydebelie, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

Attached image see.png
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0
Build ID: 20150515071002

Steps to reproduce:

1) Download a WebM file without a question mark in the filename (any, to see the difference) -> for example, the "Chemise" one provided by the Dropbox link
2) Download a WebM file with a question mark in the filename -> for example, the "Charles" one provided by the Dropbox link

WebM files:
https://www.dropbox.com/sh/x7h3lyo1rncwqcl/AABPzzEtIkY489xUB6FEz1Kia?dl=0


Actual results:

In the downloads window / tab / overlay, there is a WebM icon (video icon) for the file without question mark. However, there is none (icon: unknown) for the one with a question mark. This is observed in Linux and can probably be reproduced on all operating systems that Firefox runs on.


Expected results:

The icon for both files should have been the video icon.
My real user agent is Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 (I had override user agent on)
Component: Untriaged → Downloads Panel
Keywords: testcase
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: Question mark before extension confuses downloads window in Firefox → Question mark before file extension causes wrong icon to be displayed in the downloads panel
Version: 29 Branch → 38 Branch
(In reply to Geoffrey Db from comment #0)
> This is observed in Linux and can probably be reproduced on all operating systems that Firefox runs on.

? is an illegal character in file names on Windows. It gets replaced with _ when downloading.
I see. Still a Linux problem though.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: