summaryrefslogtreecommitdiff
path: root/main/SAPI.c
Commit message (Collapse)AuthorAgeFilesLines
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Fixed bug #63757 (getenv() produces memory leak with CGI SAPI)Dmitry Stogov2012-12-131-1/+1
|
* Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-04-061-1/+3
|\ | | | | | | | | * PHP-5.3: Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables (without apache2))
| * Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables ↵Xinchen Hui2012-04-061-1/+3
| | | | | | | | (without apache2))
| * Cherry-pick 4cc74767Gustavo André dos Santos Lopes2012-04-041-10/+19
| | | | | | | | | | | | | | | | | | | | | | Headers: forbid \r and \n also after \0, allow CRLF followed by HT or SP and forbid \0. See bug #60227. Conflicts: ext/standard/tests/general_functions/bug60227.phpt ext/standard/tests/general_functions/bug60227_1.phpt ext/standard/tests/general_functions/bug60227_2.phpt main/SAPI.c
| * Fix warning "suggest parentheses around assignment"Xinchen Hui2012-04-041-1/+1
| |
| * Fixed bug #61605 (header_remove() does not remove all headers)Xinchen Hui2012-04-041-6/+32
| |
| * - Merging r323033 into 5.3 (see bug #60227).Gustavo André dos Santos Lopes2012-02-031-4/+5
| |
| * MFH: fixed bug #60227: header() cannot detect the multi-line header with CR.Rui Hirokawa2012-01-141-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * - MFH: make setlocale thread only, drastically reduce TS related crashes in ↵Pierre Joye2011-03-161-0/+3
| | | | | | | | error mgt and other parts like pcre, and actually a good thing (tm)
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * - Reversed implementation of FR #44164, pending further consideration.Gustavo André dos Santos Lopes2010-11-181-8/+0
| | | | | | | | See rev #304903.
| * - Fixed bug #53180 (post_max_size=0 not disabling the limit when the contentGustavo André dos Santos Lopes2010-10-271-2/+2
| | | | | | | | type is application/x-www-form-urlencoded or is not registered with PHP).
| * - Implemented request #44164, zlib.output_compression is now implicitlyGustavo André dos Santos Lopes2010-10-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | disabled when the header "Content-length" is set. #One could argue that any output handler could change the size of the #response, so this exception for zlib.output_compression is an #inconsistency. However, zlib.output_compression is presented as a #performance setting, whose value should have no effect on the #correctness of the scripts. This was not the case. Setting the #header "content-length" and enabling zlib.output_compression was #a recipe for infringing section 4.4 of RFC 2616.
* | Fixed bug Fixed bug #61605 (header_remove() does not remove all headers)Xinchen Hui2012-04-041-6/+32
| |
* | MFH: Headers: forbid \r and \n also after \0, allow CRLF followed by HT or ↵Stanislav Malyshev2012-03-071-9/+19
| | | | | | | | SP and forbid \0. See bug #60227.
* | Fix bug #61106 Segfault when using header_register_callbackNikita Popov2012-03-021-3/+0
| | | | | | | | | | The callback was double dtored
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | MFH: fixed bug #60227 (header() cannot detect the multi-line header with ↵Rui Hirokawa2011-11-101-1/+1
| | | | | | | | CR(0x0D).)
* | unused varXinchen Hui2011-09-241-1/+0
| |
* | Fixed bug #55758 (Digest Authenticate missed in 5.4)Xinchen Hui2011-09-231-5/+0
| | | | | | | | | | | | the block I am removing should be removed along with the PG(saf_mod) condition. since it is inside the PG(saf_mod) condition block.
* | Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-1/+1
| |
* | Fixed bug#55084 (Function registered by header_register_callback isHannes Magnusson2011-07-061-1/+7
| | | | | | | | | | | | | | | | called only once per process). (Hannes) also fixed an issue when header()s are sent from the callback function
* | Zend Signal HandlingIlia Alshanetsky2011-06-221-0/+4
| |
* | - windows onlyPierre Joye2011-03-151-0/+2
| |
* | - make setlocale thread only, drastically reduce TS related crashes in error ↵Pierre Joye2011-03-151-0/+1
| | | | | | | | mgt and other parts like pcre, and actually a good thing (tm)
* | - fix regression (carsten_sttgt@gmx.de)Pierre Joye2011-02-251-1/+1
| |
* | Fix ZTS buildKalle Sommer Nielsen2011-02-031-2/+2
| |
* | Add header_register_callback(), allows a userland functionScott MacVicar2011-02-031-1/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to be called as all the headers are being sent and after all of the default headers have been merged. headers_list(), header_remove() and header() can all be used inside the callback. <?php header('Content-Type: text/plain'); header('X-Test: foo'); function foo() { foreach (headers_list() as $header) { if (strpos($header, 'X-Powered') !== false) { header_remove('X-Powered-By'); } header_remove('X-Test'); } } $result = header_register_callback('foo'); echo "a";
* | - Year++Felipe Pena2011-01-011-1/+1
| |
* | - Typos, WS, CSJani Taskinen2010-12-161-15/+11
| |
* | - Added enable_post_data_reading ini option to allow inhibiting POST data ↵Gustavo André dos Santos Lopes2010-12-091-1/+1
| | | | | | | | consumption.
* | Fixed gettimeofday() usage for Ilia's REQUEST_TIME improvement on WindowsKalle Sommer Nielsen2010-11-221-0/+2
| |
* | Updated _SERVER['REQUEST_TIME'] to include microsecond precision.Ilia Alshanetsky2010-11-061-2/+7
| |
* | - Fixed bug #53180 (post_max_size=0 not disabling the limit when the contentGustavo André dos Santos Lopes2010-10-271-2/+2
| | | | | | | | type is application/x-www-form-urlencoded or is not registered with PHP).
* | - Implemented request #44164, zlib.output_compression is now implicitlyGustavo André dos Santos Lopes2010-10-261-0/+8
| | | | | | | | | | | | | | | | | | | | | | disabled when the header "Content-length" is set. #One could argue that any output handler could change the size of the #response, so this exception for zlib.output_compression is an #inconsistency. However, zlib.output_compression is presented as a #performance setting, whose value should have no effect on the #correctness of the scripts. This was not the case. Setting the #header "content-length" and enabling zlib.output_compression was #a recipe for infringing section 4.4 of RFC 2616.
* | - drop TSRMLS_FETCH in sapi_register_* (won't bring much at runtime :) ) and ↵Pierre Joye2010-09-171-6/+3
| | | | | | | | cleanup/group the upgrade guide, no need of twenty titles for the same change
* | Fixed compiler warnings in main/Kalle Sommer Nielsen2010-08-171-1/+0
| |
* | Optimized defaut Content-Type HTTP header processingDmitry Stogov2010-07-141-51/+87
| |
* | * implement new output API, fixing some bugs and implementing some feature Michael Wallner2010-05-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | requests--let's see what I can dig out of the bugtracker for NEWS-- and while crossing the road: * implemented new zlib API * fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?) Thanks to Jani and Felipe for pioneering.
* | Removed safe_modeKalle Sommer Nielsen2010-04-261-66/+3
| | | | | | | | | | | | | | * Removed ini options, safe_mode* * Removed --enable-safe-mode --with-exec-dir configure options on Unix * Updated extensions, SAPI's and core * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
* | * Pass TSRMLS_C around pageinfo.cKalle Sommer Nielsen2010-04-131-1/+1
|/ | | | * Use zend_parse_parameters_none() in pageinfo.c
* I am sorry I tried fixing PHP without extensive discussion on the mailing list.Andrei Zmievski2010-03-181-2/+2
| | | | | | | | | I am sorry I tried fixing PHP without extensive discussion on the mailing list. I am sorry I tried fixing PHP without extensive discussion on the mailing list. Hope all the relevant parties are satisfied.
* Fix a few problems with large (2G-4G) file uploads. AddedAndrei Zmievski2010-03-181-2/+2
| | | | | --enable-large-uploads-fix switch because one change was in SAPI.h structure.
* - Reverted r296062 and r296065Jani Taskinen2010-03-121-2/+2
|
* MFH: Improved / fixed output buffering (Michael Wallner)Jani Taskinen2010-03-111-2/+2
|
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* - Fixed bug #49248 by fixing bug #48994 properlyJani Taskinen2009-08-171-33/+0
|
* - Try disabling zlib.output_compression always for images. (zlib extension ↵Jani Taskinen2009-08-171-3/+4
| | | | might be compiled as shared and not same time as the main PHP binary)