Closed Bug 300517 Opened 19 years ago Closed 19 years ago

png image download triggers download manager

Categories

(Core :: Networking: HTTP, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: ivan.icin, Assigned: darin.moz)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050710 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b3) Gecko/20050710 Firefox/1.0+

If you click on png file, there is possibility that it won't be opened in
browser, but in the download manager. As it is random, there is slight
possibility that it won't appear on any of the six images in this example, but
all users confirmed the issue in
http://forums.mozillazine.org/viewtopic.php?t=291122&postdays=0&postorder=asc&postsperpage=15&start=0
with slight diiference concerning which images trigger bug.

Reproducible: Always

Steps to Reproduce:
1. Visit page http://www.ubuntulinux.org/screenshots/document_view
2. Click/middle-click on all 6 images on that page


Actual Results:  
In some cases, Firefox asks you for application to open the png file
(interesting enough, it offers Microsoft Fax Viewer, though default on my system
is Irfanview, and even if I select MS Fax Viewer it uses Irfanview).

Expected Results:  
To open png file inside Firefox window
I confirm.
Summary: image download triggers download manager → png image download triggers download manager
I tried to load a lot of png-images with Google image search, and they all
succeeded.

Subsequently a header from Ubuntu and one from another site. It seems to me that
the image is sent as "text/plain":

HTTP/1.x 200 OK
Date: Tue, 12 Jul 2005 20:52:56 GMT
Server: Apache/2.0.50 (Ubuntu) mod_ssl/2.0.50 OpenSSL/0.9.7d
Content-Type: text/plain
Last-Modified: Thu, 07 Apr 2005 19:19:59 GMT
Etag: "820011-410ec-987a75c0"
Accept-Ranges: bytes
Content-Length: 266476
Age: 437
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive

HTTP/1.x 200 OK
Date: Tue, 12 Jul 2005 20:51:04 GMT
Server: Apache/2.0.54 (Debian GNU/Linux) DAV/2 SVN/1.1.4 mod_python/3.1.3
Python/2.3.5 PHP/4.3.10-15 mod_ruby/1.2.4 Ruby/1.8.2(2005-04-11) mod_ssl/2.0.54
OpenSSL/0.9.7e mod_perl/1.999.21 Perl/v5.8.4
Last-Modified: Sun, 07 Sep 2003 19:10:07 GMT
Etag: "8d8da3-182bbb-14ea81c0"
Accept-Ranges: bytes
Content-Length: 1584059
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: image/png
I'm seeing the same issue with Mozilla1.7, even more images get the download
dialog box.
Assignee: nobody → darin
Component: Download Manager → Networking: HTTP
Product: Firefox → Core
QA Contact: download.manager → networking.http
Version: unspecified → Trunk
This is a server-side issue -- it's just sending some of those images as the wrong type.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.