summaryrefslogtreecommitdiff
path: root/sapi/cli/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-07-281-1/+6
|\
| * Fix #72676: Test cli_process_title_unix fails on AIXChristoph M. Becker2016-07-281-1/+6
| | | | | | | | Patch provided by matthieu dot sarter dot external at atos dot net.
* | Fixed failed with libeditXinchen Hui2016-04-151-0/+3
| |
* | Fix bug #71624, PHP_MODE_PROCESS_STDIN (CLI SAPI called with '-R') did not ↵Sean DuBois2016-03-151-0/+43
| | | | | | | | properly set $argi and $argn
* | Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2016-03-032-4/+18
|\ \ | |/
| * Fixed bug #69953Christoph M. Becker2016-03-032-4/+18
| | | | | | | | Added support for MKCALENDAR request method in CLI web server.
* | Merge branch 'PHP-5.6' into PHP-7.0Nikita Popov2016-03-031-0/+4
|\ \ | |/
| * Disable upload_2G test on travisNikita Popov2016-03-031-0/+4
| |
* | Merge branch 'PHP-5.6' into PHP-7.0Anatol Belski2016-01-181-5/+5
|\ \ | |/ | | | | | | | | | | | | | | * PHP-5.6: fork test fix test fork test fork test for win32 fork test
| * fix testAnatol Belski2016-01-181-5/+5
| |
| * Ensure the test failsXinchen Hui2015-11-111-0/+4
| |
* | Fix bug #71005 (Segfault in php_cli_server_dispatch_router()).Adam Harvey2015-12-011-0/+46
| | | | | | | | | | | | We didn't initialise the retval variable in php_cli_server_dispatch_router(); let's now initialise it to be IS_UNDEF, as the following if condition expects.
* | Ensure the test failsXinchen Hui2015-11-111-0/+4
| |
* | Fixed bug #70863 Incorect logic to increment_function for proxy objectsAnatol Belski2015-11-061-1/+1
| |
* | Merge branch 'PHP-5.6'Xinchen Hui2015-09-111-0/+41
|\ \ | |/
| * Add test XFAIL for bug #70470Xinchen Hui2015-09-111-0/+41
| |
* | Merge branch 'PHP-5.6'Christoph M. Becker2015-09-051-0/+21
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: Fix #68291: 404 on urls with '+' Resolved conflicts: sapi/cli/php_cli_server.c
| * Fix #68291: 404 on urls with '+'Christoph M. Becker2015-09-051-0/+21
| | | | | | | | | | URI paths have to be treated according to RFC 3986 by the CLI web server, not as application/x-www-form-urlencoded.
* | Merge branch 'PHP-5.6'Christoph M. Becker2015-08-141-0/+21
|\ \ | |/ | | | | | | * PHP-5.6: Fix #70264: CLI server directory traversal
| * Fix #70264: CLI server directory traversalChristoph M. Becker2015-08-141-0/+21
| | | | | | | | | | | | | | | | 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.
* | Merge branch 'PHP-5.6'Christoph M. Becker2015-08-092-0/+63
|\ \ | |/ | | | | | | | | * PHP-5.6: Fix #66606: Sets HTTP_CONTENT_TYPE but not CONTENT_TYPE added tests for bug #66606
| * added tests for bug #66606Christoph M. Becker2015-08-092-0/+63
| |
* | fix testStanislav Malyshev2015-08-041-1/+1
| |
* | Merge branch 'PHP-5.6'Stanislav Malyshev2015-08-041-1/+1
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: fix test Conflicts: sapi/cli/tests/005.phpt
| * Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-08-041-2/+2
| |\ | | | | | | | | | | | | * PHP-5.5: fix test
| | * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-08-041-2/+2
| | |\ | | | | | | | | | | | | | | | | * PHP-5.4: fix test
| | | * fix testStanislav Malyshev2015-08-041-2/+2
| | | |
* | | | Merge branch 'PHP-5.6'Stanislav Malyshev2015-08-041-3/+6
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: update NEWS fix test update NEWS Fix bug #70019 - limit extracted files to given directory Do not do convert_to_* on unserialize, it messes up references Fix #69793 - limit what we accept when unserializing exception Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList) Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject ignore signatures for packages too Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage Fixed bug #69892 Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes Improved fix for Bug #69441 Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items) Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref) Fix bug #70081: check types for SOAP variables Conflicts: Zend/zend_exceptions.c ext/date/php_date.c ext/openssl/openssl.c ext/phar/phar_internal.h ext/soap/php_http.c ext/spl/spl_array.c ext/spl/spl_dllist.c ext/spl/spl_observer.c ext/standard/tests/serialize/bug69152.phpt sapi/cli/tests/005.phpt
| * | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-08-041-4/+7
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: update NEWS fix test update NEWS Fix bug #70019 - limit extracted files to given directory Do not do convert_to_* on unserialize, it messes up references Fix #69793 - limit what we accept when unserializing exception Fixed bug #70169 (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList) Fixed bug #70166 - Use After Free Vulnerability in unserialize() with SPLArrayObject ignore signatures for packages too Fix bug #70168 - Use After Free Vulnerability in unserialize() with SplObjectStorage Fixed bug #69892 Fix bug #70014 - use RAND_bytes instead of deprecated RAND_pseudo_bytes Improved fix for Bug #69441 Fix bug #70068 (Dangling pointer in the unserialization of ArrayObject items) Fix bug #70121 (unserialize() could lead to unexpected methods execution / NULL pointer deref) Fix bug #70081: check types for SOAP variables Conflicts: ext/soap/php_http.c ext/spl/spl_observer.c
| | * | Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-08-041-4/+7
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | * PHP-5.4: fix test update NEWS
| | | * fix testStanislav Malyshev2015-08-041-4/+7
| | | |
| | * | Fixed bug #67741 (auto_prepend_file messes up __LINE__)Reeze Xia2015-03-032-0/+20
| | | | | | | | | | | | | | | | This also fixes bug #54081
* | | | fixed broken testChristoph M. Becker2015-07-261-1/+2
| | | |
* | | | Fixed bug #70006 (cli - function with default arg = STDOUT crash output).Xinchen Hui2015-07-071-0/+18
| | | |
* | | | Merge branch 'PHP-5.6'Christoph M. Becker2015-06-271-0/+30
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | * PHP-5.6: updated NEWS Fixed #69655: php -S changes MKCALENDAR request method to MKCOL
| * | | Fixed #69655: php -S changes MKCALENDAR request method to MKCOLChristoph M. Becker2015-06-271-0/+30
| | | | | | | | | | | | | | | | | | | | The parsing of the request method in the CLI server has been faulty, so that several unsupported methods have been recognized as other methods.
* | | | Merge branch 'PHP-5.6'Christoph M. Becker2015-06-271-1/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-5.6: added skip condition for powershell requirement of test
| * | | added skip condition for powershell requirement of testChristoph M. Becker2015-06-271-1/+3
| | | |
* | | | Merge branch 'PHP-5.6'Christoph M. Becker2015-06-271-0/+19
|\ \ \ \ | |/ / / | | | | | | | | | | | | * PHP-5.6: Fix #64878: 304 responses return Content-Type header
| * | | Fix #64878: 304 responses return Content-Type headerChristoph M. Becker2015-06-271-0/+19
| | | | | | | | | | | | | | | | | | | | According to RFC 7232 304 responses should not send a Content-Type header, so the CLI server should comply.
* | | | Throwable method signatures.Aaron Piotrowski2015-05-181-9/+9
| | | |
* | | | Update exception names in tests after formatting changes.Aaron Piotrowski2015-05-172-2/+2
| | | |
* | | | Merge branch 'master' into throwable-interfaceAaron Piotrowski2015-05-172-2/+2
|\ \ \ \
| * | | | Tweak uncaught exception message displayNikita Popov2015-05-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements a reduced variant of #1226 with just the following change: -Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d +Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d The '' wrapper around messages is very weird if the exception message itself contains ''. Futhermore having the message wrapped in '' doesn't work for the "and defined" suffix of TypeExceptions.
* | | | | Fix a few missed tests.Aaron Piotrowski2015-05-161-1/+1
| | | | |
* | | | | Updated tests to reflect exception class changes.Aaron Piotrowski2015-05-164-5/+5
|/ / / /
* | | | Display EngineExceptions like ordinary exceptionsNikita Popov2015-05-152-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TypeException stays as-is for now because it uses messages that are incompatible with the way exception messages are displayed. closure_038.phpt and a few others now show that we're generating too many exceptions for compound operations on undefined properties -- this needs to be fixed in a followup.
* | | | Add test for the SEARCH HTTP verb in the CLI HTTP server.Mats Lindh2015-05-121-0/+40
| | | |
* | | | fix testAnatol Belski2015-03-231-1/+1
| | | |
* | | | Fixed testXinchen Hui2015-03-211-1/+1
| | | |