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

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 3 different diffs reported by users for this test.

Count Diff
2 (50%)
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
1 (25%)
001+ PHP 7.2.12 Development Server started at Thu Nov 22 12:54:28 2018
002+
1 (25%)
001+ ** ERROR: process timed out **
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