[wp-trac] [WordPress Trac] #11557: HTTP Streams transport doesnt abide max redirection
WordPress Trac
wp-trac at lists.automattic.com
Tue Dec 22 07:27:17 UTC 2009
#11557: HTTP Streams transport doesnt abide max redirection
--------------------------+-------------------------------------------------
Reporter: dd32 | Owner: dd32
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: HTTP | Version: 2.9
Severity: normal | Keywords: has-patch needs-testing
--------------------------+-------------------------------------------------
The Streams HTTP transport doesnt abide by the maximum redirections
properly.
It appears, that the redirection limit is placed on a per-access count,
rather than a per-redirection count. So the first request is counted in
the number of redirections.
If you request a page with 'redirection = 1' on a document which redirects
exactly once, It fails with a too-many redirects error.
My suggestion for fixing this is to simply increase the redirections by
one on the stream wrapper creation..
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11557>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list