"Save Image As" Suggests Wrong Filename/MIME Type with Redirect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firefox-3.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: firefox-3.0
(I wasn't sure which of the myriad of Firefox packages to file this against. I'm running Firefox 3, beta 4 in Hardy).
Description
=======
If I follow a link which redirects to an image file (i.e. a document with an image/* MIME type) then right click on the image and choose "Save Image As" the resulting dialog box suggests a filename for said image based on the referring URLs path and MIME type.
How to Reproduce
=============
For example, and apologies in advance, visit http://
ben@dev:~$ wget "http://
--10:41:15-- http://
=> `goto?rss=
Resolving reddit.com... 208.96.53.70
Connecting to reddit.
HTTP request sent, awaiting response... 302 Found
Location: http://
--10:41:16-- http://
=> `imagem220.jpg'
Resolving fotos.nazjam.com... 206.51.235.10
Connecting to fotos.nazjam.
HTTP request sent, awaiting response... 200 OK
Length: 49,230 (48K) [image/jpeg]
100%[=
10:41:18 (47.67 KB/s) - `imagem220.jpg' saved [49230/49230]
Comments
=======
* Possibly, because the redirect is temporary, Firefox is using the original URL as the basis for the filename heuristic...
* This behavior is repeatable with other images from Reddit. I haven't tested any other sites.
* It occurs even when Firefox is invoked with the _-safe-mode_ switch. I don't believe this is extension related.
* Epiphany handles this case in the manner you would expect: the suggested filename is "imagem220.jpg".
Workaround
=========
* Use File > Save Page As
* Load the image URL directly
System
=====
ben@dev:~$ lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04
ben@dev:~$ apt-cache policy firefox-3.0
firefox-3.0:
Installed: 3.0~b4+
Candidate: 3.0~b4+
Version table:
*** 3.0~b4+
500 http://
100 /var/lib/
ben@dev:~$ uname -a
Linux dev 2.6.24-12-386 #1 Wed Mar 12 22:30:29 UTC 2008 i686 GNU/Linux
is this still a problem with the latest ffox 3? If so, this is best dealt upstream as its not a ubuntu specific issue. Please open a bug in bugzilla. mozilla. org and post your bug id here. Thanks!