Bug 17587 - Disk image has .bz2 appended to filename when downloaded, causes disk image to become corrupted when opened
Summary: Disk image has .bz2 appended to filename when downloaded, causes disk image t...
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://www.fadingred.org/senuti/downl...
Keywords: InRadar
Depends on:
Reported: 2008-02-27 23:27 PST by Joel Schneider
Modified: 2008-02-28 01:06 PST (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Joel Schneider 2008-02-27 23:27:18 PST
I'm using WebKit-SVN-r30574 with Safari Version 3.0.4 (5523.15) on 10.5.2. Clicking on that link downloads a corrupted file, senuti_0.50.2b3.dmg.bz2, that won't expand properly. The same link clicked on in Firefox downloads and can be properly expanded into a good dmg.
Comment 1 Mark Rowe (bdash) 2008-02-28 00:46:04 PST
mrowe@daisy:~$ curl -s -i http://senuti.googlecode.com/files/senuti_0.50.2b3.dmg | head
HTTP/1.1 200 OK
Content-Length: 4825300
Content-Type: application/x-bzip2
Content-Disposition: attachment; filename="senuti_0.50.2b3.dmg"
Accept-Ranges: bytes
Expires: Thu, 06 Mar 2008 00:00:00 GMT
Cache-Control: public
Server: DFE/largefile
Date: Thu, 28 Feb 2008 08:41:47 GMT

The server is claiming the MIME type is application/x-bzip2, which results in a .bz2 being appended to the filename.  This behaviour is almost certainly outside of WebKit, either in the CFNetwork HTTP stack or in the Safari application itself.
Comment 2 Mark Rowe (bdash) 2008-02-28 00:47:39 PST
Comment 3 Mark Rowe (bdash) 2008-02-28 01:06:25 PST
Closing as INVALID per our policy for handling bugs that are in components of Mac OS X outside of WebKit.  The bug report will be tracked inside Apple via the Radar mentioned above.