[wp-trac] [WordPress Trac] #11316: Deflate decompression error with PHP 5.3.0 and IIS 7
WordPress Trac
wp-trac at lists.automattic.com
Fri Dec 4 22:42:09 UTC 2009
#11316: Deflate decompression error with PHP 5.3.0 and IIS 7
--------------------------+-------------------------------------------------
Reporter: amattie | Owner: dd32
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: HTTP | Version: 2.9
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by amattie):
I don't have anything public to test this against. It's a server-level
setting in IIS 7, so when I turn it on on our public-facing production
servers, it'll break for all the applications for the users who are
already hitting our servers with that class. Again, deflate is off by
default on IIS w/o much of a reason to enable it unless then know about
PHP < 6 not supporting gzip decoding, so I think that's why no one else
has noticed it until now.
Adding the following to the top of the compatible_gzinflate fixes the
issue for my specific circumstances:
{{{
if ( false !== ($data = gzinflate($gzData)))
return $data;
}}}
The fix remains untested for other server configurations.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11316#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list