Test: /sapi/cli/tests/bug70264.phpt - Version 7.1.7        

Bug #70264 CLI server directory traversal
Submitted: 2015-08-14 00:05:13 Modified: 2015-08-14 11:34:53
From: jplopezy Assigned: cmb
Status: Closed Package: Built-in web server
PHP Version: 5.6.12 OS: Windows only

There are 6 different diffs reported by users for this test.

Count Diff
2 (29%)
001+ Server is not running
001- Warning: file_get_contents(http://%s/..\CREDITS): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
002- in %sbug70264.php on line %d
003-
004- Warning: file_get_contents(http://%s/..%5CCREDITS): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
005- in %sbug70264.php on line %d
1 (14%)
001+ PHP 7.1.7 Development Server started at Tue Jul 25 11:47:26 2017
002+
1 (14%)
001+ PHP 7.1.7 Development Server started at Tue Jul 25 11:10:20 2017
002+
1 (14%)
001+ PHP 7.1.7 Development Server started at Thu Jul 13 04:39:19 2017
002+
1 (14%)
001+ <br />
002+ <b>Warning</b>: Unknown: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in <b>Unknown</b> on line <b>0</b><br />
003+ Server is not running
001- Warning: file_get_contents(http://%s/..\CREDITS): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
002- in %sbug70264.php on line %d
003-
004- Warning: file_get_contents(http://%s/..%5CCREDITS): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
005- in %sbug70264.php on line %d
1 (14%)
001+ <br />
002+ <b>Warning</b>: Unknown: php_network_getaddresses: getaddrinfo failed: Name or service not known in <b>Unknown</b> on line <b>0</b><br />
003+ Server is not running
001- Warning: file_get_contents(http://%s/..\CREDITS): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
002- in %sbug70264.php on line %d
003-
004- Warning: file_get_contents(http://%s/..%5CCREDITS): failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found
005- in %sbug70264.php on line %d