[wp-trac] [WordPress Trac] #11305: WP_Http won't follow redirects if open_basedir is in effect

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 22 07:47:33 UTC 2009


#11305: WP_Http won't follow redirects if open_basedir is in effect
--------------------------+-------------------------------------------------
 Reporter:  calin         |       Owner:  dd32                   
     Type:  defect (bug)  |      Status:  new                    
 Priority:  low           |   Milestone:  3.0                    
Component:  HTTP          |     Version:  2.8.5                  
 Severity:  minor         |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------

Comment(by dd32):

 This doesnt affect all transports.

 Specifically, This affects Curl only, When Running under safe mode, or
 when open_basedir is set - http://core.trac.wordpress.org/browser/trunk
 /wp-includes/http.php#L1329 redirection is specifically disabled in the
 event of either.

 I dont think the proposed location in the patch is the best place for it.
 Patch forthcoming which moves this check into the Curl handler and only
 activates if Follow location was disabled.

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


More information about the wp-trac mailing list