[wp-trac] [WordPress Trac] #7458: curl_setopt() throws errors in safe mode

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 4 06:52:35 GMT 2008


#7458: curl_setopt() throws errors in safe mode
---------------------+------------------------------------------------------
 Reporter:  Po0ky    |       Owner:  anonymous          
     Type:  defect   |      Status:  new                
 Priority:  normal   |   Milestone:  2.7                
Component:  General  |     Version:  2.7                
 Severity:  normal   |    Keywords:  curl safe_mode http
---------------------+------------------------------------------------------
 I'm getting the following error on each page.


 {{{
 Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION
 cannot be activated when in safe_mode or an open_basedir is set in
 /**/wordpress/wp-includes/http.php on line 843
 }}}


 My best guess is there should be a check before running the curl-setopt
 function to check if safe mode is set or not.

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


More information about the wp-trac mailing list