mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -30,6 +30,6 @@ var_dump( $curl_content );
|
||||
Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
|
||||
*** 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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user