[wp-trac] [WordPress Trac] #19922: Cookie urlencoding in getHeaderValue method of WP_Http_Cookie confuses servers

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 30 12:20:43 UTC 2012


#19922: Cookie urlencoding in getHeaderValue method of WP_Http_Cookie confuses
servers
--------------------------+------------------------------
 Reporter:  pw201         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by pw201):

 Clarification of the problem: LJ's protocol gives you an authentication
 code as a string over their XML-RPC protocol, and you then send it back as
 a cookie when you retrieve the comments using straightforward HTTP GETs on
 a special URL. This string contains ":" and "/". The PHP urlencode
 function decides to encode those. LJ's server doesn't choose to interpret
 cookies as urlencoded. Failure ensues.

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


More information about the wp-trac mailing list