[wp-trac] [WordPress Trac] #37437: Requests_Cookie::parse() unable to parse WP_Http_Cookie object coming from WP_Http::request()
WordPress Trac
noreply at wordpress.org
Thu Jul 21 21:06:12 UTC 2016
#37437: Requests_Cookie::parse() unable to parse WP_Http_Cookie object coming from
WP_Http::request()
--------------------------+-----------------------
Reporter: stephdau | Owner: rmccue
Type: defect (bug) | Status: assigned
Priority: high | Milestone: 4.6
Component: HTTP API | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------
Comment (by stephdau):
Note: I wasn’t sure how we’d prefer to fix it: take the `value` key out of
the object if it’s a `WP_Http_Cookie` instance. Or do so higher up
(`normalize_cookies()`?) and just have `Requests_Cookie::parse()` fail if
not a string, etc.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37437#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list