[wp-trac] [WordPress Trac] #18273: Flaw in WP_Http_Encoding::accept_encoding() or related.

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 29 02:04:42 UTC 2011


#18273: Flaw in WP_Http_Encoding::accept_encoding() or related.
--------------------------+-----------------------
 Reporter:  jfarthing84   |       Owner:  dd32
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.3
Component:  HTTP          |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------

Comment (by dd32):

 The [http://au2.php.net/manual/en/function.gzinflate.php PHP documentation
 here] has 4 different implementations, offset 2, offset 10, offset 11, and
 one which determines the offset based on the contents of the compressed
 data. The Transfer Encoding code shouldn't apply here, as it's handled by
 the API elsewhere.[[BR]]
 The "complex" check appears to cover the 10 and 11 offset checks -
 although I haven't found a server to test that against (mod_gzip data is
 being handled by PHP's functions directly in my test installs it appears).

 From what I can see, unless someone posts another server which is having
 trouble, these 2 cases here cover all the "known" cases.

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


More information about the wp-trac mailing list