mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
- Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading
This commit is contained in:
parent
b1e3ae0e99
commit
f66e02b8fc
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue