[wp-trac] [WordPress Trac] #11600: gzuncompress() error on http.php line 1824

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 26 01:06:54 UTC 2009


#11600: gzuncompress() error on http.php line 1824
--------------------------+-------------------------------------------------
 Reporter:  ipstenu       |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  2.9.1    
Component:  HTTP          |     Version:  2.9      
 Severity:  major         |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by dd32):

  * keywords:  => has-patch


Comment:

 > attachment 11600.diff  added

 It looks like the server in question is sending Deflate'd content, RAW
 deflated content, Not the Deflate which web servers generally serve up
 (Crazily enough, they all differ in what data headers and trailing data
 they send). The thing with Raw deflate is, the initial header is pretty
 much dependant upon the content, so it cant be tested for in this case by
 the sounds of it.

 Attached patch tries to raw inflate it before attempting other methods..

 I've silenced the warnings on the attempts to "try" decompressing the
 string, as if its not the right function, it'll definately produce an php
 warning/notice.

 Attached patch is actually what is suggested in #11316 too, so will fix
 that as well.

 I'm leaving this set to 2.9.1 as it needs to be fixed there.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11600#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list