[wp-trac] [WordPress Trac] #24987: HTTP requests should handle passing Cookies on redirects
WordPress Trac
noreply at wordpress.org
Thu Aug 8 04:20:35 UTC 2013
#24987: HTTP requests should handle passing Cookies on redirects
-------------------------+-------------------
Reporter: dd32 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.7
Component: HTTP | Version: trunk
Severity: normal | Keywords:
-------------------------+-------------------
A follow on from #21182
When a request is made a remote location which redirects, any set cookies
are not used in the following requests.
This causes plugin developers to have to handle redirections manually,
passing the cookies between calls.
In addition, any cookies used within the request, should be returned in
the 'cookies' array. This is a slight behaviour change, Previously it'd
only include cookies that were set, not those that were passed to it. I
don't see this causing any significant change to existing code.
Working code and unit tests are available on #21182 and will be committed
shortly.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24987>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list