[wp-trac] [WordPress Trac] #11912: missing check in WP_Http_Encoding::decompress() leads to gzuncompress errors

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 16 23:11:45 UTC 2010


#11912: missing check in WP_Http_Encoding::decompress() leads to gzuncompress
errors
--------------------------+-------------------------------------------------
 Reporter:  rowanbeentje  |        Owner:  dd32  
     Type:  defect (bug)  |       Status:  closed
 Priority:  normal        |    Milestone:  3.0   
Component:  HTTP          |      Version:  2.9.1 
 Severity:  normal        |   Resolution:  fixed 
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by dd32):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [12739]) Correctly set the body on Curl requests with an empty body.
 Add a defensive check to WP_Http_Encoding::decompress to prevent the
 decompression functions running on empty strings. Fixes #11912

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


More information about the wp-trac mailing list