com php-src: Fixed test: sapi/fpm/tests/022-cve-2016-5385.phpt
| From: | Dmitry Stogov | Date: | Thu, 17 Nov 2016 12:57:40 +0000 |
| Subject: | com php-src: Fixed test: sapi/fpm/tests/022-cve-2016-5385.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95853@lists.php.net to get a copy of this message | ||
Commit: c2d6ffb85f87b43de2c13d015375861c0f8ca16e
Author: Dmitry Stogov <dmitry@zend.com> Thu, 17 Nov 2016 15:57:40 +0300
Parents: c4f1c20d80650d6d3b2f959bf01d6268d29571da
Branches: PHP-5.6 PHP-7.0 PHP-7..1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c2d6ffb85f87b43de2c13d015375861c0f8ca16e
Log:
Fixed test
Changed paths:
M sapi/fpm/tests/022-cve-2016-5385.phpt
Diff:
diff --git a/sapi/fpm/tests/022-cve-2016-5385.phpt b/sapi/fpm/tests/022-cve-2016-5385.phpt
index 7f3e818..feb9d12 100644
--- a/sapi/fpm/tests/022-cve-2016-5385.phpt
+++ b/sapi/fpm/tests/022-cve-2016-5385.phpt
@@ -27,7 +27,7 @@ $code = <<<EOT
<?php
echo "Test Start\n";
var_dump(
- \$_SERVER["HTTP_PROXY"],
+ @\$_SERVER["HTTP_PROXY"],
\$_SERVER["HTTP_FOO"],
getenv("HTTP_PROXY"),
getenv("HTTP_FOO")