Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Safari appending .bz2 to soem downloads

Safari appending .bz2 to soem downloads
Thread Tools
Fresh-Faced Recruit
Join Date: Sep 2006
Status: Offline
Reply With Quote
Oct 9, 2006, 09:32 AM
 
I've been having this really strange issue with Safari lately. Actually, it's affecting any browser that uses Apple's rendering engine, like WebKit or OmniWeb 5.5. In many cases, when I download a .dmg from a site, Safari is adding a .bz2 extension to the end of the file. If you then try to decompress the file, you end up with a corrupted .dmg.

Initially, I thought it was a problem coming from particular sites. I started noticing it more regularly, however, so I tested with Firefox, and a windows machine and discovered they downloaded a perfectly usable .dmg that was now .bz2 compressed. I even tried wget, and it worked fine, too.

Since it seems to be affecting Safari, I tried to thing about what I may have installed to cause this. I don't use any Safari add-ons, and I had tried out a couple of shareware compression apps (Unachriver and Compress), which could have caused the problem. I've zapped them with appzapper, so they should be out of the picture.

I did discover this morning that if I rename the .dmg.bz2 to simple .dmg, they are mountable like normal, so it doesn't look like the files are even really beign compressed - it's just that extension getting added. I just can;t figure out what in the world is adding the extension.

Any ideas?

Thanks!
     
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status: Offline
Reply With Quote
Oct 9, 2006, 09:44 AM
 
Safari adds an extension according to the mime type the server sends the file with. The servers might send the disk images with the wrong mime type.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Oct 9, 2006, 09:46 AM
 
Just to clarify, are the files you're downloading bzip2-compressed or not? And would it be possible to link a sample file that displays the problem so we could see?
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Oct 9, 2006, 10:35 AM
 
What TETENAL said. Safari adjusts the extension according to the mime type, which often works well but sometimes goes awry, i.e. when the web server delivers the wrong mime type. Since .dmg is pretty much a Mac-only extension, many web servers do not have it properly configured.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:48 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2