summaryrefslogtreecommitdiff
path: root/sapi/cgi
Commit message (Collapse)AuthorAgeFilesLines
...
* - kill unused varPierre Joye2009-06-171-2/+0
|
* - #47318, UMR when trying to activate user configPierre Joye2009-06-171-9/+40
|
* MFH: Fix bug #47042 (cgi sapi is incorrectly removing the SCRIPT_FILENAME ↵David Soria Parra2009-06-091-2/+2
| | | | | | | for non apache). The fix was provided by Sriram Natarajan.
* MFH:- Fixed bug #48419 (non-portable STDIN fileno in cgi_main.c)Jani Taskinen2009-06-041-1/+4
|
* MFH: CS + WS changesJani Taskinen2009-06-041-76/+91
|
* MFH: Fix compiler warningsKalle Sommer Nielsen2009-05-191-1/+2
|
* MFHArnaud Le Blanc2009-04-244-15/+15
|
* MFH: Fix #47149. Remove check for script_filename = path_translated, as this ↵David Soria Parra2009-01-191-2/+1
| | | | the actual value that we get from apache.
* Disable dl() in CGI and FastCGI modesDmitry Stogov2009-01-111-1/+3
|
* MFH: Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache).David Soria Parra2009-01-091-1/+3
|
* MFHMarcus Boerger2008-12-311-0/+12
| | | | | | | - Changed dl() to be disabled by default. Enabled only when explicitly registered by the SAPI layer. Enabled only with CLI, CGI and EMBED. (Dmitry) [DOC]
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-313-5/+5
|
* - WSPierre Joye2008-12-111-54/+54
|
* - wsPierre Joye2008-12-111-28/+28
|
* MFH: Fixed bug #46782 (fastcgi.c parse error)Matt Wilmas2008-12-071-6/+6
|
* Fixed bug #46366 (bad cwd with / as pathinfo)Dmitry Stogov2008-11-281-0/+3
|
* Added header_remove() (chsc at peytz dotdk, Arnaud)Arnaud Le Blanc2008-11-131-0/+165
| | | | | | | | | | | | | | | | | | | | | | | | | [DOC] proto void header_remove([string header_name]) Removes an HTTP header previously set using header() The header_name parameter is optionnal, all headers are removed if it is not set [SAPIs] The header_handler callback in sapi_module_struct has been changed, it now take a new argument. When it is set to SAPI_HEADER_DELETE, sapi_header->header is the name of an header, header_handler has to delete it. When it is set to SAPI_HEADER_DELETE_ALL, header_handler has to delete all headers. When sapi_header_op_enum is SAPI_HEADER_ADD or _REPLACE, sapi_header->header is in the form "Name: value", header_handler has to add or replace the given header. In all cases, header_handler must not free sapi_header or sapi_header->header. SAPI_HEADER_ADD must be returned if the header has been added or replaced, or 0 in other cases.
* Fix for bug #46525Rasmus Lerdorf2008-11-081-0/+1
|
* MFH: Fixed FCGI_GET_VALUES requests (fixes #45522)Arnaud Le Blanc2008-10-213-18/+75
|
* Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304 responseIlia Alshanetsky2008-10-171-0/+9
| | | | | code, in cgi sapi)
* Fixed bug #45860 (header() function fails to correctly replace all Status lines)Dmitry Stogov2008-09-022-2/+66
|
* Remove stray folding tag hereRasmus Lerdorf2008-08-261-1/+1
|
* Fixed bug #45786 (FastCGI process exited unexpectedly)Dmitry Stogov2008-08-263-8/+12
|
* Fix for bug #45786 (FastCGI process exited unexpectedly)Dmitry Stogov2008-08-183-16/+19
|
* Fixed double call to MSHUTDOWN in case of `php-cgi -m`Dmitry Stogov2008-08-151-0/+1
|
* fix testsJani Taskinen2008-08-144-6/+3
|
* MFHJani Taskinen2008-08-131-11/+0
|
* Removed shebang line check from CGI sapi (it is checked by scanner)Dmitry Stogov2008-08-041-57/+25
|
* Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots))Dmitry Stogov2008-07-151-9/+36
|
* Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown ↵Dmitry Stogov2008-07-152-19/+53
| | | | before shutdown) (basant dot kukreja at sun dot com)
* Fixed possible buffer overflowDmitry Stogov2008-06-231-3/+7
|
* Optimized request startup sequence for php.ini without per dir and per host ↵Dmitry Stogov2008-04-151-30/+35
| | | | configurations
* Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script)Dmitry Stogov2008-04-091-1/+1
|
* - Fixed possible stack buffer overflow in FastCGI SAPI. (Andrey Nigmatulin)Dmitry Stogov2008-04-031-1/+4
| | | | | | - Fixed sending of uninitialized paddings which may contain some information. (Andrey Nigmatulin)
* Add new empty child terminate sapi hook to the rest of the sapisRasmus Lerdorf2008-03-181-0/+1
|
* Implemented concept of "delayed early binding" that allows opcode caches to ↵Dmitry Stogov2008-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | perform class declaration (early and/or run-time binding) in exactly the same order as vanila php. The following pseudo-code explains how it should be used in opcode cache. function cache_compile_file($filename) { if (!is_cached($filename)) { ... orig_compiler_options = CG(compiler_optins); CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES | ZEND_COMPILE_DELAYED_BINDING; $op_array = orig_compile_file($filename); CG(compiler_options) = orig_copiler_options; ... } else { $op_array = restore_from_cache($filename); } zend_do_delayed_early_binding($op_array); }
* - Rewrite scanner to be based on re2c instead of flexMarcus Boerger2008-03-162-5/+5
| | | | | | | | | The full patch is available as: http://php.net/~helly/php-re2c-5.3-20080316.diff.txt This is against php-re2c repository version 98 An older patch against version 97 is available under: http://php.net/~helly/php-re2c-97-20080316.diff.txt
* MFB: Fixed security issue detailed in CVE-2008-0599Ilia Alshanetsky2008-02-281-1/+1
|
* optimizationDmitry Stogov2008-02-152-10/+22
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-313-5/+5
|
* The -f option is fixed to work in the same way as in CLI sapiDmitry Stogov2007-12-031-11/+21
|
* MFH:- Added support for [HOST=www.example.com] special sectionsJani Taskinen2007-11-091-3/+7
| | | | | MFH:- Allowed using full path to load modules using "extension" directive
* fix testsAntony Dovgal2007-11-012-2/+2
|
* Fixed bug #42848 (Status: header incorrect under FastCGI)Dmitry Stogov2007-11-011-3/+74
|
* Added check for HAVE_GETTIMEOFDAYDmitry Stogov2007-10-261-0/+14
|
* MFH: wsJani Taskinen2007-10-251-2/+2
|
* Added CGI SAPI -T option, to measure execution time of script repeated ↵Dmitry Stogov2007-10-251-2/+37
| | | | several times.
* MFH: fix win buildRob Richards2007-10-051-1/+1
|
* MFH:- Added common getopt implementation to core.Jani Taskinen2007-10-015-208/+5
| | | | | | | | | | MFH:- Added long-option feature to getopt(). MFH:- Made getopt() available on win32 systems. MFH: Patch by: David Soria Parra <dsp@php.net> [DOC]: These changes will be available from 5.3+ # Note: Fixed also tests and synced basic_functions.c with HEAD.
* MFH:Jani Taskinen2007-09-281-4/+112
| | | | | | | | | | | | | | | | | | | | - Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI. - Added support for special [PATH=/opt/httpd/www.example.com/] sections in php.ini. All directives set in these sections will not be able to be overridden in user-defined ini-files or during runtime in the specified path. - Improved php.ini handling: . Added better error reporting for syntax errors in php.ini files . Allowed "ini-variables" to be used almost everywhere ini php.ini files . Allowed using alphanumeric/variable indexes in "array" ini options . Fixed get_cfg_var() to be able to return "array" ini options - Fixed bug #27372 (parse error loading browscap.ini at apache startup) - Fixed bug #42069 (parse_ini_file() allows using some non-alpha numeric characters)