]> granicus.if.org Git - php/commitdiff
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
authorPierre Joye <pajoye@php.net>
Thu, 22 Apr 2010 11:49:10 +0000 (11:49 +0000)
committerPierre Joye <pajoye@php.net>
Thu, 22 Apr 2010 11:49:10 +0000 (11:49 +0000)
ext/curl/tests/curl_setopt_CURLOPT_FOLLOWLOCATION_open_basedir.phpt
ext/curl/tests/curl_setopt_basic001.phpt

index 68465e6dadcf6c1741830988a078563ea577636e..c00e1d2080e803d41ff8e20cab26d8dd490fcc3f 100644 (file)
@@ -17,6 +17,6 @@ curl_close($ch);
 var_dump($succes);
 ?>
 --EXPECTF--
-Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when %r(in safe_mode or an )?%ropen_basedir is set in %s.php on line %d
+Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when %r(safe_mode is enabled or an )?%ropen_basedir is set in %s.php on line %d
 bool(false)
 
index 054c29eab058b8a099ec969c6cc4bbf8653147b6..4c49fb245c815347c266f572ee8a3e85fdbfe993 100644 (file)
@@ -30,6 +30,6 @@ var_dump( $curl_content );
 --EXPECTF--
 *** Testing curl_setopt with CURLOPT_FOLLOWLOCATION in safemode
 
-Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in %s on line %d
+Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in %s on line %d
 bool(false)
 ===DONE===