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

NEW
Unassigned

Status

()

Firefox
Downloads Panel
--
minor
2 years ago
2 years ago

People

(Reporter: Geoffrey De Belie (Smile4ever), Unassigned)

Tracking

({testcase})

38 Branch
x86_64
Linux
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
Created attachment 8616475 [details]
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.
(Reporter)

Comment 1

2 years ago
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)

Updated

2 years ago
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

Comment 2

2 years ago
(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.
(Reporter)

Comment 3

2 years ago
I see. Still a Linux problem though.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.