summaryrefslogtreecommitdiff
path: root/sapi/cgi
Commit message (Collapse)AuthorAgeFilesLines
* Future-proof email addressesZeev Suraski2018-11-011-2/+2
|
* Trim trailing whitespace in *.phptPeter Kokot2018-10-1410-18/+18
|
* Sync leading and final newlines in source code filesPeter Kokot2018-10-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* Trim trailing whitespace in source code filesPeter Kokot2018-10-132-5/+5
|
* Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2018-10-082-2/+50
|\ | | | | | | | | * PHP-7.2: Fix #76954: apache_response_headers removes last character from header name
| * Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2018-10-082-2/+50
| |\ | | | | | | | | | | | | * PHP-7.1: Fix #76954: apache_response_headers removes last character from header name
| | * Fix #76954: apache_response_headers removes last character from header namestodorovic2018-10-082-2/+50
| | |
* | | Merge branch 'PHP-7.2' into PHP-7.3Anatol Belski2018-10-031-3/+3
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Avoid code duplication and don't miss env restore
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-10-031-2/+2
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Avoid code duplication and don't miss env restore
| | * Avoid code duplication and don't miss env restoreAnatol Belski2018-10-031-2/+2
| | |
* | | Merge branch 'PHP-7.2' into PHP-7.3Anatol Belski2018-10-031-3/+18
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fixed bug #76948 Failed shutdown/reboot or end session in Windows
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-10-031-1/+16
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fixed bug #76948 Failed shutdown/reboot or end session in Windows
| | * Fixed bug #76948 Failed shutdown/reboot or end session in WindowsAnatol Belski2018-10-031-1/+16
| | |
* | | Remove unused Git attributes identPeter Kokot2018-07-253-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* | | Fixed bug #62596 add getallheaders (apache_request_headers) missing function ↵Remi Collet2018-07-051-50/+1
| | | | | | | | | | | | in FPM add sapi_add_request_header in public API (was add_request_header) fix arginfo for fastcgi_finish_request fucntion
* | | Fixed bug #75982 ($_SERVER mostly empty with default variables_order GPCS on ↵Dmitry Stogov2018-03-231-8/+10
| | | | | | | | | | | | FastCGI/CGI)
* | | Use EXPECT instead of EXPECTF when possibleGabriel Caruso2018-02-204-4/+4
| | | | | | | | | | | | EXPECTF logic in run-tests.php is considerable, so let's avoid it.
* | | Reduce var scopeAnatol Belski2018-02-161-15/+20
| | |
* | | Remove always true conditionAnatol Belski2018-02-161-4/+2
| | |
* | | Simplify declarationAnatol Belski2018-02-161-2/+1
| | |
* | | Remove trailing whitespace in inc filesGabriel Caruso2018-02-101-1/+1
| | |
* | | Fix some misspellingsGabriel Caruso2018-02-061-1/+1
| | |
* | | Merge branch 'PHP-7.2'Anatol Belski2018-01-131-1/+9
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Fix invalid free
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2018-01-131-1/+9
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Fix invalid free
| | * Fix invalid freeAnatol Belski2018-01-131-1/+9
| | |
| | * year++Xinchen Hui2018-01-021-3/+3
| | |
| * | year++Xinchen Hui2018-01-021-3/+3
| | |
* | | Trailing whitespacesGabriel Caruso2018-01-031-5/+5
| | | | | | | | | | | | Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
* | | year++Xinchen Hui2018-01-021-3/+3
| | |
* | | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
| | |
* | | Use array specific functionsDmitry Stogov2017-12-071-2/+2
| | |
* | | Merge branch 'PHP-7.2'Anatol Belski2017-11-282-0/+77
|\ \ \ | |/ / | | | | | | | | | * PHP-7.2: Follow up on bug #75574 for FCGI side
| * | Merge branch 'PHP-7.1' into PHP-7.2Anatol Belski2017-11-282-0/+77
| |\ \ | | |/ | | | | | | | | | * PHP-7.1: Follow up on bug #75574 for FCGI side
| | * Follow up on bug #75574 for FCGI sideAnatol Belski2017-11-282-0/+77
| | |
* | | Allow creating $_SERVER from $_ENV, but not $_ENV from $_SERVER.Dmitry Stogov2017-11-131-14/+10
| | |
* | | Remove CHANGES from sapi/cgiPeter Kokot2017-10-191-33/+0
|/ / | | | | | | | | All these changes are noted in the PHP manual instead that have been removed.
* | Merge branch 'PHP-7.1' into PHP-7.2Joe Watkins2017-09-271-3/+3
|\ \ | |/ | | | | | | * PHP-7.1: Fix CGI m4 config message when CGI is disabled
| * Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-09-271-3/+3
| |\ | | | | | | | | | | | | * PHP-7.0: Fix CGI m4 config message when CGI is disabled
| | * Fix CGI m4 config message when CGI is disabledPeter Kokot2017-09-271-3/+3
| | |
| | * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-3/+3
| | |
* | | Exclude warm-up requests from callgrind profile.Dmitry Stogov2017-05-311-0/+12
| | |
* | | Merge branch 'PHP-7.1'Anatol Belski2017-01-121-1/+20
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed #72898 PHP_FCGI_CHILDREN is not included in phpinfo()
| * | Fixed #72898 PHP_FCGI_CHILDREN is not included in phpinfo()Anatol Belski2017-01-121-1/+20
| | |
| * | Fixed bug #73904 php-cgi fails to load -c specified php.ini fileAnatol Belski2017-01-121-6/+23
| | |
| * | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-3/+3
| | |
* | | Fixed bug #73904 php-cgi fails to load -c specified php.ini fileAnatol Belski2017-01-121-6/+23
| | |
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-021-3/+3
| | |
* | | Remove more PHP 6 leftovers from testsNikita Popov2016-11-241-5/+5
| | |
* | | Remove this old obsolete codeKalle Sommer Nielsen2016-11-211-10/+0
| | |
* | | Use "Standard input code" instead of "php://stdin"Andrea Faulds2016-11-122-2/+2
| | |