#40874 [NEW]: .msi download comes through as text/plain
| From: | dave at psntn dot com | Date: | Tue, 20 Mar 2007 22:37:43 +0000 |
| Subject: | #40874 [NEW]: .msi download comes through as text/plain | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-34821@lists.php.net to get a copy of this message | ||
From: dave at psntn dot com
Operating system: Windows
PHP version: Irrelevant
PHP Bug Type: Website problem
Bug description: .msi download comes through as text/plain
Description:
------------
When downloading the "PHP 5.2.1 installer" msi file, the server sends back
a Content-type of text/plain instead of whatever it should be
Reproduce code:
---------------
Download from here:
http://www.php.net/get/php-5.2.1-win32-installer.msi/from/a/mirror
Expected result:
----------------
A box would pop up asking to save/open file
Actual result:
--------------
Web browser (Firefox and Opera but not MSIE) attempts to render it as
plain text and promptly crashes (having maxed out the CPU).
The HTTP response from the server is as follows:
HTTP/1.x 200 OK
Date: Tue, 20 Mar 2007 22:31:11 GMT
Server: Apache/2.2.2 (Fedora)
Last-Modified: Mon, 12 Feb 2007 14:31:48 GMT
Etag: "1497f-131c008-5e943d00"
Accept-Ranges: bytes
Content-Length: 20037640
Connection: close
Content-Type: text/plain; charset=UTF-8
--
Edit bug report at http://bugs.php.net/?id=40874&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40874&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40874&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40874&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40874&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=40874&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=40874&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=40874&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=40874&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=40874&r=support
Expected behavior: http://bugs.php.net/fix.php?id=40874&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=40874&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=40874&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40874&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40874&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40874&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=40874&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=40874&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=40874&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=40874&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=40874&r=mysqlcfg