[wp-trac] Re: [WordPress Trac] #9395: WP_Http: add support for headers split over multiple lines

WordPress Trac wp-trac at lists.automattic.com
Mon May 4 14:00:54 GMT 2009


#9395: WP_Http: add support for headers split over multiple lines
--------------------------+-------------------------------------------------
 Reporter:  wnorris       |       Owner:                  
     Type:  defect (bug)  |      Status:  new             
 Priority:  normal        |   Milestone:  2.8             
Component:  HTTP          |     Version:  2.8             
 Severity:  normal        |    Keywords:  has-patch commit
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):

  * keywords:  has-patch needs-review => has-patch commit


Comment:

 Updated the patch to use underscores, and added a check on the header
 array's size.

 @Ryan: His point is valid. I've used similar code to parse email headers
 in a separate app a few years back.

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


More information about the wp-trac mailing list