Bug 17587

Summary: Disk image has .bz2 appended to filename when downloaded, causes disk image to become corrupted when opened
Product: WebKit Reporter: Joel Schneider <jmschneider>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: mrowe
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: http://www.fadingred.org/senuti/download/senuti_0.50.2b3.dmg

Joel Schneider
Reported 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.
Attachments
Mark Rowe (bdash)
Comment 1 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.
Mark Rowe (bdash)
Comment 2 2008-02-28 00:47:39 PST
Mark Rowe (bdash)
Comment 3 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.
Note You need to log in before you can comment on or make changes to this bug.