Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.6.0

Bug #17450 Handle when set follow_redirects => true but curl follow redirect is disabled
Submitted: 2010-06-01 14:16 UTC
From: zyava Assigned: avb
Status: Closed Package: HTTP_Request2 (version 0.5.2)
PHP Version: 5.2.12 OS: Linux
Roadmaps: 0.6.0    
Subscription  


 [2010-06-01 14:16 UTC] zyava (Dmitriy Zavalkin)
Description: ------------ Probably exception should be thrown when follow_redirects set to true but curl follow redirect is disabled and CURLOPT_FOLLOWLOCATION has no effect.

Comments

 [2010-06-02 23:45 UTC] avb (Alexey Borzov)
-Status: Open +Status: Analyzed
Looks like this error requires enabling safe_mode or open_basedir: http://www.php.net/manual/en/function.curl-setopt.php#71313
 [2010-06-02 23:59 UTC] zyava (Dmitriy Zavalkin)
Yes, I know. Both safe_mode and open_basedir cam be disabled on the hosting (like on my one) because of security or any other reason.
 [2011-02-14 16:13 UTC] avb (Alexey Borzov)
-Status: Analyzed +Status: Closed -Assigned To: +Assigned To: avb
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.