[wp-trac] [WordPress Trac] #10417: Provide redirection follow capabilities in HTTP API when safe_mode or open_basedir are set

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 15 16:07:52 UTC 2009


#10417: Provide redirection follow capabilities in HTTP API when safe_mode or
open_basedir are set
-------------------------+--------------------------------------------------
 Reporter:  sivel        |       Owner:  dd32 
     Type:  enhancement  |      Status:  new  
 Priority:  normal       |   Milestone:  2.9  
Component:  HTTP         |     Version:  2.8.1
 Severity:  normal       |    Keywords:       
-------------------------+--------------------------------------------------
 When safe_mode or open_basedir are set it seems that the only transport
 that can "follow" the redirects is fsockopen.  All others stop after the
 initial request.

 Simplepie seems to have a method of "manually" following by checking to
 see if the last response was a 30x and checks the number of redirects.  If
 the last response was a 30x and the redirects that happened were less than
 configured it does a "manual" follow by requesting, grabbing the
 'Location' header and then requesting again until it either hits the
 redirect limit or a non 30x response code.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10417>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list