[wp-trac] [WordPress Trac] #11557: HTTP Streams transport doesnt abide max redirection

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 28 03:38:31 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
--------------------------+-------------------------------------------------

Comment(by hakre):

 I think that's properly compared to the documented behaviour:

 [ttp://www.php.net/manual/en/context.http.php HTTP context options]:
  ''max_redirects'' integer

  The max number of redirects to follow. Value ''1'' or less means that no
 redirects are followed.

  Defaults to 20.

 It (the ''1'') could be read as: The first redirect is max, so it won't be
 done.

 Is there a documentation of the ''request()'' $args array members
 available? the parameter is named 'redirection' and the default value is 5
 (at least in WP_Http_Streams). I can not find any more specs about that
 parameter next to that it is in sync with the ''max_redirects'' documented
 on the php page.

 what about setting the default value to 20?

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


More information about the wp-trac mailing list