Bug #17450 [Opn->Ana]: Handle when set follow_redirects => true but curl follow redirect is disabled
| From: | borz_off at cs dot msu dot su | Date: | Wed, 02 Jun 2010 19:45:08 +0000 |
| Subject: | Bug #17450 [Opn->Ana]: Handle when set follow_redirects => true but curl follow redirect is disabled | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-3845@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17450&edit=1
ID: 17450
Updated by: borz_off@cs.msu.su
Reported By: dimzav at gmail dot com
Summary: Handle when set follow_redirects => true but curl
follow redirect is disabled
-Status: Open
+Status: Analyzed
Type: Bug
Package: HTTP_Request2
Operating System: Linux
Package Version: 0.5.2
PHP Version: 5.2.12
Roadmap Versions:
New Comment:
-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
Previous Comments:
------------------------------------------------------------------------
[2010-06-01 10:16:19] zyava
Description:
------------
Probably exception should be thrown when follow_redirects set to true
but curl follow redirect is disabled and CURLOPT_FOLLOWLOCATION has no
effect.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17450&edit=1