Closed Bug 303604 Opened 19 years ago Closed 19 years ago

Using save-as files get text header added see below for example

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 263698

People

(Reporter: reibertg, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.3 StumbleUpon/1.9993
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.3 

On the page listed above (http://www.cowswithguns.com/cowmovie.html) there is a
link to view a Flash movie.  WHen I left-click on this link and use the "save
as" command the following header is embedded into the .SWF file.  This happens
whenever I try to save as

57a
HTTP/1.1 200 OK
Date: Fri, 05 Aug 2005 17:55:08 GMT
Server: Apache
Last-Modified: Fri, 18 Feb 2005 07:30:44 GMT
ETag: "2880c6-1c9c38-179eb100"
Accept-Ranges: bytes
Content-Length: 1875000
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: application/x-shockwave-flash


Reproducible: Always

Steps to Reproduce:
1.Find a direct link to a file (i.e.
http://www.3dweb.no/galleri/stuestolbm/bilder/anim1.swf)
2.left-click on the link and select Save Link As...
3.sit back, wait for the download to complete

Actual Results:  
Firefox reports that the file has completed downloading.  The file is unusable
because the header has been inserted.

Expected Results:  
Downloaded the file without inserting a header

Not using any themes.
Sorry.  SHould be right-click and select "Save Link As".
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b4) Gecko/20050805 Firefox/1.0+
ID:2005080513

Works for me. I'm not sure what you mean by "inserts the header".
What I mean is that the data I showed in my original entry is added to the
beginning of whatever file I attempt to "Save Link As" (here it is again:

57a
HTTP/1.1 200 OK
Date: Fri, 05 Aug 2005 17:55:08 GMT
Server: Apache
Last-Modified: Fri, 18 Feb 2005 07:30:44 GMT
ETag: "2880c6-1c9c38-179eb100"
Accept-Ranges: bytes
Content-Length: 1875000
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: application/x-shockwave-flash)

The only difference is in the last line.  It varies with the type of file I'm
downloading.  (In this case it was a Macromedia Flash file).

I can supply you with the file if needed, just let me know.
Works for me - the downloaded file contains only the Flash data (the first three
bytes are "CWS", being the normal Flash header for a compressed .swf file)

saint (reporter), do you have any extensions?  If yes, does this still occur in
Firefox safe mode?  (I am thinking of LiveHTTPHeaders, but that's just a guess
and I don't know of similiar problems with it)  Also, are you using a proxy?

A trace with Ethereal would be informative, but probably overkill :)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050730
Firefox/1.0+
Related to Core bug 160454/Firefox bug 263698?
saint, I think zug has a point. Could you test this in the most recent builds?
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/

1.  Same thing happens in safe-mode

2.  Deer Park alpha works!

*** This bug has been marked as a duplicate of 263698 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.