Closed Bug 426699 Opened 17 years ago Closed 17 years ago

Firefox 3 beta 5 can't download what Firefox 2 can; says "File Not Found"

Categories

(Core :: Networking: HTTP, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: aldolat, Unassigned)

References

Details

(Keywords: regression)

Attachments

(2 files)

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

As in summary, on this page [1] if I use FF 2 I can download everything just fine. On the contrary, in the same page with Firefox 3 beta 5 I can't.
Other people have this error.

Any idea?

[1] http://www.aldolat.it/downloads/

Reproducible: Always

Steps to Reproduce:
1.Go to that page
2.Try to download a file
3.
Actual Results:  
FF3b5 can't download - FF2.x can download

Expected Results:  
I expect that FF3 could download what FF2 can

This site uses WordPress 2.5 and the plugin WP-DownloadManager [1].

[1] http://lesterchan.net/portfolio/programming.php
I can reproduce the bug on Mac.  I get a "File Not Found" error page (despite it being an http URL) on trunk, and a download dialog in Firefox 2.
Component: Download Manager → Networking: HTTP
Keywords: regression
OS: Linux → All
Product: Firefox → Core
QA Contact: download.manager → networking.http
Hardware: PC → All
Summary: Firefox 3 beta 5 can't download what Firefox 2 can. → Firefox 3 beta 5 can't download what Firefox 2 can; says "File Not Found"
Version: unspecified → Trunk
Flags: blocking1.9?
Confirmed on Windows XP as well. Regression window is
http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2006-04-27+03%3A00&maxdate=2006-04-27+13%3A00
Status: UNCONFIRMED → NEW
Ever confirmed: true
We get in both cases a 404 :

4576[1ce39c0]:   HTTP/1.1 404 Not Found
4576[1ce39c0]:   Date: Thu, 03 Apr 2008 12:31:38 GMT
4576[1ce39c0]:   Server: Apache/2.0
4576[1ce39c0]:   X-Powered-By: PHP/4.4.7
4576[1ce39c0]:   X-Pingback: http://www.aldolat.it/xmlrpc.php
4576[1ce39c0]:   Pragma: public
4576[1ce39c0]:   Expires: 0
4576[1ce39c0]:   Cache-Control: must-revalidate, post-check=0, pre-check=0
4576[1ce39c0]:   content-disposition: attachment; filename=firewall-amule.tar.gz;
4576[1ce39c0]:   Content-Transfer-Encoding: binary
4576[1ce39c0]:   Last-Modified: Thu, 03 Apr 2008 12:31:39 GMT
4576[1ce39c0]:   Content-Length: 994
4576[1ce39c0]:   Keep-Alive: timeout=15, max=100
4576[1ce39c0]:   Connection: Keep-Alive
4576[1ce39c0]:   Content-Type: application/download

Firefox 2 download the 404 page as file while Firefox 3 stops at the http status ocde. This seems to be correct and I think the epage is just broken.

You can very easy see this if you use http://www.aldolat.it/download/index.php?dl_id=3 on http://web-sniffer.net.

marking invalid
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
and this a change from bug 312727 AFAIK
I do not understand why FF 2 (on Ubuntu or Windows) can download, while FF 3 beta 5 cannot download.

Can you explain me?
It's already explained here.
The page sends a 404 file not found for the download link.
It also sends the download itself as 404 content of the 404 response, usually used as the error page itself.

Firefox2 downloaded the "error page" while Firefox3 just displays it's internal 404 error page and it doesn't use the submitted content in the 404 response.
This is a valid design change from bug 312727.

The page must send a http/1.1 200 OK

BTW: You also can not download this file because of this error in the page
and if you don't know anything about http status codes you can use http://en.wikipedia.org/wiki/List_of_HTTP_status_codes for a list which includes 404
Thank you. :)
Blocks: 312727
"BTW: You also can not download this file because of this error in the page"
should be 
"BTW: IE7 also can not download this file because of this error in the page"
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: