php-src/sapi/cli/tests
Christoph M. Becker 9c805a6cb3 Fix #70264: CLI server directory traversal
On Windows the built-in webserver doesn't prevent directory traversal when
backslashes are used as path component separators. Even though that is not a
security issue (the CLI webserver is meant for testing only), we fix that by
replacing backslashes in the path with slashes on Windows, because backslashes
may be valid characters for file names on other systems, but not on Windows.
2015-08-14 17:05:31 +02:00
..
001.phpt
002-win32.phpt MFH: use getenv 2008-09-30 15:11:05 +00:00
002.phpt
003-2.phpt Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
003.phpt
004.phpt more verbose skip reason in test files with not so obvious extension requirements 2012-02-25 12:10:41 +00:00
005.phpt fix test 2015-08-04 16:45:20 -07:00
006.phpt Fixed test sapi/cli/tests/006.phpt 2012-11-14 16:20:59 +01:00
007.phpt fix CLI tests failing because of new OB API 2011-05-04 08:24:16 +00:00
008.phpt fix CLI tests failing because of new OB API 2011-05-04 08:24:16 +00:00
009.phpt fix CLI tests failing because of new OB API 2011-05-04 08:24:16 +00:00
010-2.phpt
010.phpt - Rewrite scanner to be based on re2c instead of flex 2008-03-16 21:06:55 +00:00
011.phpt # Fix phpt 2011-05-05 18:30:14 +00:00
012.phpt fix CLI tests failing because of new OB API 2011-05-04 08:24:16 +00:00
013.phpt
014.phpt fix CLI tests failing because of new OB API 2011-05-04 08:24:16 +00:00
015.phpt fix tests 2008-08-14 20:51:35 +00:00
016.phpt This test should pass 2014-09-27 02:17:26 +02:00
017.phpt fix tests (removed duplicated stuff) 2008-03-17 16:32:15 +00:00
018.phpt fix test 2008-03-17 14:05:39 +00:00
019.phpt - MFH: New tests 2008-03-07 21:33:17 +00:00
020.phpt - MFH: New tests 2008-03-07 21:33:17 +00:00
021.phpt there is a length limit on the shebang line, ignore the tests for >= 127 2011-10-20 18:09:44 +00:00
022.inc Open STDIN and php://stdin streams with the relevant 2008-11-04 21:05:31 +00:00
022.phpt stream_socket_server("unix://..." has a length limit, so it is better to use the tmp dir instead of the current test dir for the socket file. see https://bugs.php.net/bug.php?id=60106 2011-10-22 21:44:05 +00:00
bug43177.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
bug44564.phpt MFH: fix test 2008-04-07 12:14:04 +00:00
bug61546.phpt Fixed bug #62176 Test Bug - sapi/cli/tests/bug61546.phpt 2012-05-29 11:41:44 +02:00
bug61679.phpt Respond with 501 to unknown request methods 2012-09-15 23:11:12 -07:00
bug61977.phpt Allow CLI server test scripts to specify the name of the router file. 2015-01-06 01:22:59 +00:00
bug64529.phpt fix test with readline on mac 2014-11-29 01:47:45 +01:00
bug64544.phpt Fixed bug #64544 (Valgrind warnings after using putenv) 2013-03-29 23:42:50 +08:00
bug64878.phpt Fix #64878: 304 responses return Content-Type header 2015-06-27 14:28:33 +02:00
bug65066_100.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
bug65066_422.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
bug65066_511.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
bug65633.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
bug66606_1.phpt added tests for bug #66606 2015-08-09 02:36:58 +02:00
bug66606_2.phpt added tests for bug #66606 2015-08-09 02:36:58 +02:00
bug66830.phpt Merge branch 'PHP-5.5' into PHP-5.6 2014-07-07 20:45:01 +00:00
bug67429.phpt Merge branch 'PHP-5.5' into PHP-5.6 2014-06-12 17:57:36 -07:00
bug67741_stub.inc Fixed bug #67741 (auto_prepend_file messes up __LINE__) 2015-03-03 11:43:23 +08:00
bug67741.phpt Fixed bug #67741 (auto_prepend_file messes up __LINE__) 2015-03-03 11:43:23 +08:00
bug68745.phpt Merge branch 'PHP-5.5' into PHP-5.6 2015-01-06 01:27:37 +00:00
bug69655.phpt Fixed #69655: php -S changes MKCALENDAR request method to MKCOL 2015-06-27 20:02:21 +02:00
bug70264.phpt Fix #70264: CLI server directory traversal 2015-08-14 17:05:31 +02:00
cli_process_title_unix.phpt Support for CLI process title (https://wiki.php.net/rfc/cli_process_title) 2013-03-07 18:54:34 +00:00
cli_process_title_windows.phpt added skip condition for powershell requirement of test 2015-06-27 15:02:52 +02:00
php_cli_server_001.phpt Fix test, now can run on windows 2011-10-25 10:54:39 +00:00
php_cli_server_002.phpt add $_SERVER["SERVER_NAME"] since it's handy 2011-12-09 16:16:31 +00:00
php_cli_server_003.phpt - any other dir may not exist or may not be used 2012-01-10 07:33:36 +00:00
php_cli_server_004.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
php_cli_server_005.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
php_cli_server_006.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
php_cli_server_007.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
php_cli_server_008.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
php_cli_server_009.phpt Merge branch 'PHP-5.5' into PHP-5.6 2015-01-06 01:27:37 +00:00
php_cli_server_010.phpt Merge branch 'PHP-5.5' into PHP-5.6 2015-01-06 01:27:37 +00:00
php_cli_server_012.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
php_cli_server_013.phpt Allow CLI server test scripts to specify the name of the router file. 2015-01-06 01:22:59 +00:00
php_cli_server_014.phpt Allow CLI server test scripts to specify the name of the router file. 2015-01-06 01:22:59 +00:00
php_cli_server_015.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
php_cli_server_016.phpt typo in test 2012-04-21 10:15:35 +08:00
php_cli_server_017.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
php_cli_server_018.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
php_cli_server_019.phpt Implement RFC https://wiki.php.net/rfc/default_encoding 2014-02-13 11:54:52 +09:00
php_cli_server.inc Merge branch 'PHP-5.5' into PHP-5.6 2015-01-06 01:27:37 +00:00
skipif.inc
upload_2G.phpt add missing skip to the output, so we actually skip this test 2014-04-07 16:57:52 +02:00