#23753 [NEW]: ob_gzhandler and IE problem

From: Date: Thu, 22 May 2003 14:11:10 +0000
Subject: #23753 [NEW]: ob_gzhandler and IE problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40194@lists.php.net to get a copy of this message
From: admin at sportsandbytes dot de Operating system: redhat linux 7.2 PHP version: 4.3.1 PHP Bug Type: *Compression related Bug description: ob_gzhandler and IE problem Following Problem: After upgrading from apache1.3.26/php4.2.2 to apache1.3.27/php4.3.1 we noticed a problem with 2 of our pages. Background: We use ob_gzhandler to compress pages, wich before the upgrade worked fine. After the upgrade 2 of several 100 pages didnt display in IE/win anymore. Problem disappears of ob_gzhandler is not used. Other Browsers (mozilla/konqui/ie on mac/safari) didnt show this problem. Subsequent downgrade made problem dissapear. switching to zlib_output_compression = on with set_ini() calls adjusting zlib.output_compression_level from within the script works fine too. the code in question goes like this . . . //build $this->pageSource . . . ob_start("ob_gzhandler"); echo $this->pageSource; ob_end_flush(); Getting the afflicted pages with wget sending appropriate headers and such gives me a nicely compressed page. Uncompressing the downloaded page with gzip shows gzip complaining about 'trailing grabage' wich it ignores. The uncompressed page afterwards looks just like expected in IE. This leads me to the assumption that the 'trailing garbage' is the problem and does not in fact get ignored by IE -- Edit bug report at http://bugs.php.net/?id=23753&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23753&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23753&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23753&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23753&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23753&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23753&r=support Expected behavior: http://bugs.php.net/fix.php?id=23753&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23753&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23753&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23753&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23753&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23753&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23753&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23753&r=gnused

« previous php.bugs (#40194) next »