IE truncates filenames of .exe files when they are gzip encoded

grand_master_v - June 21, 2006 - 22:09

Hi everyone,

I'm trying to setup a basic file repository for my support site using drupal and the disk node module to attach files to pages. Downloading seemed to be fine until I tried to add a .exe file. Firefox downloads it fine but IE truncates any .exe file to whatever it gets before the first " . " in the filename.

At first I thought it was a disk node problem but after finding this article I think it has something to do with the file being gziped on its way to the browser.

I've been scouring the site for information on how to disable gzip but still keep getting gzip encoded pages/files after disabling it in php with php_value zlib.output_compression off in the apache virtual host settings. I have also disabled the cache and manualy cleared the database table (altho it keeps repopulating itself even though it is disabled...).

Here is my system info:

Drupal Version 4.7.2

Web Server
Type Apache
Version 2.0.52 (Red Hat)

PHP
Version 4.3.9
Core:
Magic Quotes GPC Off
Magic Quotes Runtime Off
Memory Limit 150M
Register Globals Off
Safe Mode Off
Session Cache Limiter none
Session Save Handler user
Upload Max Filesize 100M
Extensions:
CURL Support Enabled
GD Version bundled (2.0.28 compatible)
FreeType Support Enabled
XML Support Enabled
Zip Support Disabled
Zlib Support Enabled

Database
Type MySQL
Version 4.1.20
Charset utf8
Collation utf8_general_ci
Create Temporary Tables Enabled

Thanks ahead for any help guys!
I hope I can contribute alot back to the community.

Gzip was disabled

grand_master_v - June 21, 2006 - 23:01

Hi everyone,

Sorry about this but I was reading the headers wrong. Gzip is disabled. I still am in the dark about why the filenames are being truncated though..

----------------------------
Vince T

 
 

Drupal is a registered trademark of Dries Buytaert.