The Android web site is not configured correctly because *.tgz and *.bz2 
files are treated as a "tar archive" which causes Firefox to append a .tar 
extension to the end of the file name (e.x. *.tgz -> *.tgz.tar ; *.tar.bz2 
-> *.tar.bz2.tar) when directly opening (not explicitly saving first) such 
files. A *.tgz file is a "gzip archive" and a *.bz2 file is a "bz2 
archive". The Linux version of the SDK is a *.tgz file. Both the Mac OS X 
and Linux versions of the NDK are *.bz2 files. I've currently only 
encountered this issue while using Firefox on Windows, but I wouldn't be 
surprised if this issue occurs on Linux as well.

Internet Explorer 9 sanitizes the extensions, replacing them entirely with 
.tar (e.x. *.tgz -> *.tar ; *.tar.bz2 -> *.tar.tar). Older versions of IE 
may do the same thing, thus causing an issue with the site.

Before anyone tries arguing that it's the browser that's causing the issue, 
know that the Mozilla web site has *.bz2 files for the Linux version of 
Firefox, and these are handled correctly in both Firefox and IE. In other 
words, the Mozilla site is configured correctly.

The problem is a simple one to rectify, just modify the MIME type that the 
web server gives to *.tgz and *.bz2 files.

Note: saving the file first and then opening it, bypasses these issues, but 
you shouldn't have to do that.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to