Bug #17450 [Ana]: Handle when set follow_redirects => true but curl follow redirect is disabled
| From: | dimzav at gmail dot com | Date: | Wed, 02 Jun 2010 19:59:15 +0000 |
| Subject: | Bug #17450 [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-3846@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: dimzav@gmail.com
Reported By: dimzav at gmail dot com
Summary: Handle when set follow_redirects => true but curl
follow redirect is disabled
Status: Analyzed
Type: Bug
Package: HTTP_Request2
Operating System: Linux
Package Version: 0.5.2
PHP Version: 5.2.12
Roadmap Versions:
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2010-06-02 19:45:08] avb
-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-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