Comment 16 for bug 209607

Revision history for this message
In , Mozilla-tibit (mozilla-tibit) wrote :

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b5) Gecko/2008050509 Firefox/3.0b5

Firefox 3.0b5 does not offer a choice of helper applications when clicking certain .zip file links, while others work as expected. With the links in question, Firefox only offers "Save File" and "Cancel" buttons. I did not have this problem with Firefox 2, when clicking the same links.

Digging a little deeper with the Live HTTP Headers extension, I find that the links in question...
- do not have ".zip" in their URL
- have a content-type: application/octet-stream header
- have a content-disposition: attachment; filename="foo.zip" header

I'm guessing that Firefox 2 pays attention to content-disposition when detecting file types, while 3.0b5 is not quite as smart.

Reproducible: Always

Steps to Reproduce:
1. Click a link to a file whose content-disposition includes a well known file name extension, but whose content-type and url are not so helpful.
2. Expect to see the usual dialog box asking what helper application should handle the file.
Actual Results:
Watch as Firefox gives you only "Save File" and "Cancel" options.

Expected Results:
I expected to see the usual helper application dialog.

xubuntu 8.04 (hardy heron) linux
xfce desktop