[wp-trac] [WordPress Trac] #12316: WP_HTTP doesnt handle 'HttpOnly' cookies correctly

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 21 02:00:42 UTC 2010


#12316: WP_HTTP doesnt handle 'HttpOnly' cookies correctly
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:  dd32
     Type:  defect (bug)  |      Status:  new 
 Priority:  normal        |   Milestone:  3.0 
Component:  HTTP          |     Version:      
 Severity:  normal        |    Keywords:      
--------------------------+-------------------------------------------------
 Spits on an error: {{{ Notice: Undefined offset: 1 in G:\www\wordpress-
 commit\wp-includes\class-http.php on line 1737 }}}

 This is due to $pair being set to {{{" HttpOnly"}}} at {{{list( $key, $val
 ) = explode( '=', $pair );}}}}

 An example site of this is {{{http://google.com/}}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12316>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list