Closed
Bug 279695
Opened 20 years ago
Closed 20 years ago
Content-Disposition: attachment is treated as a redirect
Categories
(Toolkit :: Downloads API, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jrossiter, Assigned: bugs)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050124 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050124 Firefox/1.0+ Files which use "Content-Disposition: attachment" to cause a file-save a are treated as a redirect instead of causing the content to be saved. Reproducible: Always Steps to Reproduce: 1. Navigate to the URL specified above (http://www.torrentspy.com) 2. Search for any term ("freeware" or "shareware" for example) 3. Click "Save Torrent" Actual Results: Firefox displays a dialog stating that it was unable to locate the requested data. LiveHTTPHeaders shows this sequence: Request Response 200(Using Content-Disposition: attachment) Request (For the filename specified in the attachment header) 404 Log from LiveHTTPHeaders: http://torrentspy.com/download.asp?id=138751 GET /download.asp?id=138751 HTTP/1.1 Host: torrentspy.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050124 Firefox/1.0+ Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.7,ja;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: UTF-8,* Keep-Alive: 300 Connection: keep-alive Referer: http://torrentspy.com/search.asp?mode=torrentdetails&id=138751 HTTP/1.x 200 OK Date: Tue, 25 Jan 2005 03:55:07 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Cache-Control: private, no-cache Accept-Ranges: bytes content-disposition: attachment;filename=248.apps.rar.torrent Content-Length: 26314 Content-Type: application/x-bittorrent;name=248.apps.rar.torrent; Charset=UTF-8 ---------------------------------------------------------- http://torrentspy.com/248.apps.rar.torrent HEAD /248.apps.rar.torrent HTTP/1.1 Host: torrentspy.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b) Gecko/20050124 Firefox/1.0+ Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: en-us,en;q=0.7,ja;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: UTF-8,* Keep-Alive: 300 Connection: keep-alive HTTP/1.x 404 Not Found Content-Length: 1635 Content-Type: text/html Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Tue, 25 Jan 2005 03:55:07 GMT ----------------------------------------------------------
| Reporter | ||
Comment 1•20 years ago
|
||
Traced to the "Download Sort" extension
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•