Well, it's a .pkg, not a .dmg. I'll pass this on to get it fixed, thanks. --Jeremy On Dec 11, 2007, at 08:48, Harald Hanche-Olsen wrote:
+ Jeremy Huddleston <jeremyhu@berkeley.edu>:
On Dec 11, 2007, at 07:15, Nathan wrote:
I received a warning message after Firefox downloaded the package (see attached partial screen shot). After pressing ok, I opened the package and installed normally. I was intrigued to see the little "certificate" icon in the top right of the installer bar. Clicking on it showed your Thawte Freemail Member certificate.
Weird. What version of Firefox? It is compressed and encoded... just they probably didn't recognize it (xar).
Hmmm, the server serves it up as Content-Type: text/plain which is arguably wrong. My guess is that firefox has a look, decides it is not really text/plain after all (a good thing in this case) and decides to hand it off to Stuffit Expander in an attempt to make sense of it. This in spite of the fact that nothing in the server response indicates any sort of compression or other decoding.
You could add a line
AddType application/octet-stream .dmg
to .htaccess in the directory where the distribution files reside in order to avoid this problem. Or, if you know an appropriate file type for .dmg files, use that instead of application/octet-stream.
- Harald
PS. For the morbidly curious, here is how I looked at the server response:
; curl -v -O http://people.freedesktop.org/~jeremyhu/x11-apple/X11-2.1.1-pre1.pkg * About to connect() to people.freedesktop.org port 80 (#0) * Trying 131.252.210.176... connected * Connected to people.freedesktop.org (131.252.210.176) port 80 (#0)
GET /~jeremyhu/x11-apple/X11-2.1.1-pre1.pkg HTTP/1.1 User-Agent: curl/7.17.1 (powerpc-apple-darwin9.1.0) libcurl/7.17.1 zlib/1.2.3 Host: people.freedesktop.org Accept: */*
< HTTP/1.1 200 OK < Date: Tue, 11 Dec 2007 16:37:50 GMT < Server: Apache/2.2.6 (Debian) DAV/2 SVN/1.4.4 mod_python/3.3.1 Python/2.4.4 PHP/4.4.6-2 mod_ssl/2.2.6 OpenSSL/0.9.8g < Last-Modified: Tue, 11 Dec 2007 06:54:07 GMT < ETag: "afcc49-10d1f9b-440fd2dd9e1c0" < Accept-Ranges: bytes < Content-Length: 17637275 < Content-Type: text/plain < _______________________________________________ Xquartz-dev mailing list Xquartz-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/xquartz-dev