com php-src: adapt test to curl 7.35.0 upgrade: ext/curl/tests/bug61948-win32.phpt
| From: | Anatol Belski | Date: | Wed, 05 Feb 2014 14:15:34 +0000 |
| Subject: | com php-src: adapt test to curl 7.35.0 upgrade: ext/curl/tests/bug61948-win32.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75908@lists.php.net to get a copy of this message | ||
Commit: 71ebc0a7f3cf54b186a34147d308bdc900ae6ec7
Author: Anatol Belski <ab@php.net> Wed, 5 Feb 2014 15:15:34 +0100
Parents: 770aeeb40cd3174801127ccee1a71b6ef6635a18
Branches: PHP-5.4 PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=71ebc0a7f3cf54b186a34147d308bdc900ae6ec7
Log:
adapt test to curl 7.35.0 upgrade
which is a security one and should be performed as in
http://curl.haxx.se/docs/adv_20140129.html
Changed paths:
M ext/curl/tests/bug61948-win32.phpt
Diff:
diff --git a/ext/curl/tests/bug61948-win32.phpt b/ext/curl/tests/bug61948-win32.phpt
index dc86526...00f498f 100644
--- a/ext/curl/tests/bug61948-win32.phpt
+++ b/ext/curl/tests/bug61948-win32.phpt
@@ -17,9 +17,7 @@ open_basedir="c:/tmp"
?>
--EXPECTF--
%a
-
-Warning: curl_setopt(): open_basedir restriction in effect. File(c:/tmp/foo) is not within the
allowed path(s): (c:/tmp) in %sbug61948-win32.php on line %d
-bool(false)
+bool(true)
Warning: curl_setopt(): open_basedir restriction in effect. File(c:/xxx/bar) is not within the
allowed path(s): (c:/tmp) in %sbug61948-win32.php on line %d
bool(false)