Test: /sapi/cli/tests/bug70264.phpt - Version 7.2.0-dev        

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

Count Diff
30 (63%)
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
13 (27%)
001+ Warning: file_get_contents(http://localhost:8964/..\CREDITS): failed to open stream: Connection refused in %s/bug70264.php on line 4
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+ Warning: file_get_contents(http://localhost:8964/..%5CCREDITS): failed to open stream: Connection refused in %s/bug70264.php on line 5
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
3 (6%)
2 (4%)
001+ Notice: Undefined variable: error in /home/travis/build/php/php-src/sapi/cli/tests/php_cli_server.inc on line 48
002+