WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
15065
air_b1_mac_061107.dmg downloads incorrectly as air_b1_mac_061107.dmg.bz
https://bugs.webkit.org/show_bug.cgi?id=15065
Summary
air_b1_mac_061107.dmg downloads incorrectly as air_b1_mac_061107.dmg.bz
Graham Perrin
Reported
2007-08-23 20:17:20 PDT
Safari Version 3.0.3 (522.12.1) At <
http://labs.adobe.com/downloads/air.html
> the download for Mac results in a file name with a .bz suffix. The same download obtained using Firefox has a .dmg suffix.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2007-08-23 21:29:43 PDT
My understanding is that this is a Safari issue that's outside open source WebKit. Side note: personally, I find it annoying when Safari changes file extensions when downloading or saving files.
Mark Rowe (bdash)
Comment 2
2007-08-24 01:32:19 PDT
This bug is below WebKit in the framework stack. The issue is that the web server is returning a generic MIME type (probably application/octect-stream) so content sniffing occurs to determine the correct file extension to use when saving the file. A disk image using bzip2 compression is structured in such a way that appears to be a standard bz2 file from the initial portion of the data received. This leads to the framework responsible for the sniffing to determine that it is a .bz2 file rather than a .dmg. <
http://www.unsanity.org/archives/mac_os_x/my_dmg_is_bwoken_after_download.php
> has a bit more information about this issue, as well as providing a server-side workaround for the issue. I'm rather surprised that Adobe apparently does not test their Mac OS X downloads in Safari. They surely would have noticed this issue had they done so. Closing as INVALID as the bug is not in WebKit. It is already in Radar, though I don't recall the number off the top of my head.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug