1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 08:58:28 +02:00
Commit Graph

391 Commits

Author SHA1 Message Date
Xinchen Hui 8b65d7b80c Add tests 2011-09-23 03:09:12 +00:00
Xinchen Hui 32dba92b66 Add tests for bug #55755 2011-09-22 02:26:00 +00:00
Xinchen Hui 75f721f4a0 Fixed bug #55755 (SegFault when outputting header WWW-Authenticate) 2011-09-21 16:00:09 +00:00
Xinchen Hui 8d97573973 change test, and added a test for post file 2011-09-21 07:51:31 +00:00
Xinchen Hui 8c161dcd4b Remove double checking, and use MAXPATHLEN instead of a fixed length 2011-09-21 06:59:47 +00:00
Xinchen Hui f0e38127b8 Change to a more appropriate name 2011-09-21 03:16:35 +00:00
Xinchen Hui 86a48c6ca9 Fixed bug #55747 (request headers missed in $_SERVER) 2011-09-21 03:09:42 +00:00
Shein Alexey 2cf4f98c93 Refactored and speeded up php_cli_server tests, also get rid of test hanging on ubuntu:
1) Prepended starting the server with "exec" so proc_terminate can correctly close it (see also this note http://www.php.net/manual/en/function.proc-get-status.php#93382 for details)
2) Moved putting down the server to the shutdown function to make it independent from tests (fatal) errors
3) Moved php cli executable into the function to make tests more readable 
4) changed sleep(1) to usleep(50000) (50 ms) to make tests faster - this needs more testing and if timeout is too small should be increased
2011-09-20 14:53:46 +00:00
Xinchen Hui 0d74e0f091 fix INI section 2011-09-20 08:13:55 +00:00
Xinchen Hui 552bfa8156 Add tests for built-in webserver 2011-09-20 07:10:46 +00:00
Xinchen Hui eb233a26f7 Fix Bug #55726 (Changing the working directory makes router script inaccessible) 2011-09-20 07:06:55 +00:00
Xinchen Hui 3aa8140ebd Fix folder 2011-09-20 05:07:15 +00:00
Dmitry Stogov e43ff1359e Fixed ZE specific compile warnings (Bug #55629) 2011-09-13 13:29:35 +00:00
Xinchen Hui 0b16d13352 Fixed Bug #55423(cli-server could not output correctly in some case) 2011-09-07 05:14:54 +00:00
Arpad Ray 88e36378ff add friendly log messages (req #55109) 2011-08-29 21:59:27 +00:00
Christopher Jones 7a280ee650 Update log, marking 5.4 and trunk as XFAIL due to bug #55496 2011-08-23 20:59:10 +00:00
Xinchen Hui f7c6c67d19 Added _SERVER[SERVER_SOFTWARE] for built-in server 2011-08-22 15:51:49 +00:00
Xinchen Hui 1e0e85ec1a Fixed #55463 (cli-server missing _SERVER[REMOTE_ADDR]) 2011-08-22 11:55:41 +00:00
Pierre Joye 9fbde3c349 - undefine CALLBACK (btw, generic names like that should be avoided, w/o prefix :) 2011-08-19 11:35:37 +00:00
Pierre Joye 29d7e7e8c0 - fix build 2011-08-19 11:33:59 +00:00
Xinchen Hui 7790c4d975 Fixed #55450 (Built in web server not accepting file uploads), which might break #55121 fixing(r313677)
Reopened #55121 to let somebody redone the fixing(as I can't reproduce 55121 in redhat 64-bit).
2011-08-19 08:30:26 +00:00
Xinchen Hui 2ebe3799b1 Fixed #55457 for 5.4 branch
Use ssize_t instead of long (as pierre suggestion)
2011-08-19 07:40:51 +00:00
Xinchen Hui e385f3ccf4 Fixed #55457(cli built-in web server does not work with IE), introduced by r315128 2011-08-19 07:24:35 +00:00
Pierre Joye 3202573bef - do not use 64bit integer instead of size_t (can't be alloc'ed), or when the actual possible values are 32bit or lower only 2011-08-18 09:16:04 +00:00
Pierre Joye 83414d2e53 - WS 2011-08-17 11:59:39 +00:00
Pierre Joye ad76cffcde - use provided stdint.h and avoid double definitions 2011-08-17 11:56:04 +00:00
Xinchen Hui 8de80c9679 Prevented the warning about truncate int to char 2011-08-08 07:12:12 +00:00
Rasmus Lerdorf d9845c2046 More signed 1-bit bitfields 2011-08-07 15:57:35 +00:00
Rasmus Lerdorf 25cdff4d75 Signed 1-bit bitfields make no sense 2011-08-07 15:52:46 +00:00
Rasmus Lerdorf 1a9f66d6d4 Avoid a potential double-free here 2011-08-06 23:42:52 +00:00
Florian Anderiasch a06539a10d Fix #55121 Segfault with multipart/form-data POST 2011-07-25 16:45:39 +00:00
Moriyoshi Koizumi c724b2eeb1 - Give index.php a precedence over index.html. Patch by davidc. 2011-07-23 11:29:26 +00:00
Moriyoshi Koizumi 1f396617eb - Show PHP_VERSION in the banner. Suggested by Chris and others. 2011-07-21 07:31:29 +00:00
Moriyoshi Koizumi b07ad1e1a2 Fixed bug #55071. Maybe a bit overkill? 2011-07-20 09:00:20 +00:00
Moriyoshi Koizumi 06381a8f25 - Better error handling. 2011-07-20 08:43:12 +00:00
Moriyoshi Koizumi 81cd23df4a - Fixed bug #55073 (PHP-CLI-webserver does not listen on ipv6 interfaces), letting getaddrinfo(3) validate IPv6 addresses. 2011-07-20 04:34:01 +00:00
Moriyoshi Koizumi 9f98a430fd - Fixed bug #55107 (Null bytes in URL cause insecure behavior (code execution / code disclosure)). 2011-07-19 18:17:25 +00:00
Moriyoshi Koizumi 7505322d15 - Buffers are local to the blocks where they belong. 2011-07-19 18:00:16 +00:00
Moriyoshi Koizumi 8e42748a37 - Print HTTP method as well in the log.
- Print response code also when the request is processed by a script.
- Those changes partly closes #55109.
2011-07-19 17:47:34 +00:00
Felipe Pena c10d148870 - Fixed bug #55076 (requires() fails in a subdirectory with the in-built webserver) 2011-07-06 01:54:54 +00:00
Felipe Pena df10314070 - Fixed bug #55118 (Imcomplete start message) 2011-07-03 14:45:41 +00:00
Felipe Pena 4296f07fcc - Reverted php_printf -> printf change 2011-07-01 17:18:50 +00:00
Philip Olson 7497a0eb4a Updated name to 'PHP Development Server', and CTRL-C to Ctrl-C, as per PHP bug #55071 2011-06-30 23:50:56 +00:00
David Soria Parra cdad24cda5 correct error message for a missing document root in the cli webserver
the document root is always a directory.
2011-06-29 23:44:02 +00:00
David Soria Parra 5024c32798 fix #55072 in-built web server needs to check -t option is a directory 2011-06-29 23:29:01 +00:00
Felipe Pena f7a024023f - Fixed crash on invalid addr:port (Chris Jones, Felipe) 2011-06-27 23:18:26 +00:00
Felipe Pena 8841454a10 - Fixed crash when using -e option 2011-06-25 20:40:03 +00:00
Felipe Pena 7b1f738b70 - Fixed crash when calling sapi_shutdown() and sapi hasn't been started
Reported by: David Tajchreber
2011-06-25 14:17:17 +00:00
Felipe Pena 9424d255c9 - Fixed crash when zend_eval_string bailouts (-r 'a();')
Reported by: David Tajchreber
2011-06-25 13:15:24 +00:00
Pierre Joye eeade7180a - reflection is always enabled 2011-06-25 10:47:54 +00:00