[wp-trac] [WordPress Trac] #21182: WP_HTTP_Cookie doesn't handle the default conditions for the 'domain' and 'path' field correctly.

WordPress Trac noreply at wordpress.org
Sun Jul 28 08:13:58 UTC 2013


#21182: WP_HTTP_Cookie doesn't handle the default conditions for the 'domain' and
'path' field correctly.
-------------------------------------+-----------------------------
 Reporter:  dd32                     |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  low                      |   Milestone:  Future Release
Component:  HTTP                     |     Version:
 Severity:  minor                    |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+-----------------------------
Changes (by dd32):

 * keywords:  needs-patch => has-patch needs-testing


Comment:

 > Attachment 21182.diff​ added
 This builds off 17588.2.diff for #17588 and adds full Cookie Support to
 the HTTP API.
 * Adds the Defaults for the cookie
 * Adds support for "2nd generation cookies" (Set-Cookie2:..)
 * Passes cookies in redirect requests
 * Evaluates which cookies to pass to further requests
 * Fixes the handling of the 'port' parameter of cookie
 * Causes the API to return the cookies set by the request in addition to,
 the cookies which were passed to the request (previously it would only
 return cookies set, not used).

 Still doesn't handle anything to do with the Secure parameter, or HTTPOnly
 parameter (not that the latter is of concern to us).

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


More information about the wp-trac mailing list