summaryrefslogtreecommitdiffstats
path: root/system/core/Common.php
AgeCommit message (Collapse)AuthorFilesLines
2022-01-05Merge branch '3.1-stable' into developAndrey Andreev1-3/+2
2022-01-05Fix some minor PHP 8.1 deprecation warningsAndrey Andreev1-3/+2
2020-07-09[ci skip] Merge pull request #5970 from sapics/fix/user-guide-urlAndrey Andreev1-1/+1
Fix user guide url
2020-06-24Fix user guide urlsapics1-1/+1
Replace from https://codeigniter.com/user_guide/* to https://codeigniter.com/userguide3/*
2020-03-30[ci skip] Merge pull request #5903 from achraf52/patch-2Andrey Andreev1-1/+1
Add HTTP/2.0 server protocol value variation
2020-02-10Add server protocol value variationAchraf Almouloudi1-1/+1
In some Apache servers running the HTTP/2 protocol, calling "$_SERVER['SERVER_PROTOCOL']" may return "HTTP/2.0" instead, thus causing CodeIgniter to (incorrectly) determine the output header protocol to use. This commit adds the different variation to fix that.
2019-01-02Merge pull request #5662 from jim-parry/copyright2019Instructor, BCIT1-3/+3
Update copyright date to 2019
2018-12-27Update copyright date to 2019Jim Parry1-2/+2
2018-05-18http:// to https://Mehdi Bounya1-3/+3
2018-02-13only retain 103, 207, 308, 421 and 451qichengzx1-8/+0
2018-02-11complement the missing HTTP status codesqichengzx1-0/+13
2018-01-09[ci skip] Merge pull request #5376 from jim-parry/copyright-updateAndrey Andreev1-2/+2
Annual copyright update Conflicts resolved: system/libraries/Cache/drivers/Cache_apcu.php
2018-01-09Annual copyright updateMaster Yoda1-2/+2
2017-06-05[ci skip] Merge pull request #5143 from TysonAndre/misc-phpdoc-nitsAndrey Andreev1-1/+1
Fix misc inconsistencies between code and doc comments
2017-06-05Fix misc type inconsistencies between code and doc commentsTyson Andre1-1/+1
2017-03-24Merge branch '3.1-stable' into developAndrey Andreev1-11/+8
Conflicts resolved: system/core/CodeIgniter.php system/core/Common.php system/core/Input.php system/helpers/cookie_helper.php tests/codeigniter/helpers/html_helper_test.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrading.rst user_guide_src/source/libraries/input.rst
2017-03-20Fix Apache header injection vulnerability in set_status_header()Andrey Andreev1-5/+5
2017-02-06[ci skip] Eliminate a needless array_merge() call from PR #5006 patchAndrey Andreev1-6/+3
2017-02-06Merge pull request #5006 from tianhe1986/develop_commonAndrey Andreev1-8/+8
Fix two bugs with Common Functions
2017-02-04Removing url encoded 127.tianhe19861-0/+1
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
2017-02-04Loading global mimes config file first, and then environment file.tianhe19861-8/+7
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
2017-01-23Merge pull request #4991 from verkhoumov/developAndrey Andreev1-5/+0
Removed dead code from show_error()
2017-01-21Fixed show_error() for check $exit_statusDmitriy Verkhoumov1-5/+0
At the beginning of the function it checks whether a parameter $status_code is less than 100. Then the parameter $exit_status is formed by summing the $status_code + 9. In this case, the parameter $exit_status can not be more than 108, but somehow it is checked whether the value of the parameter $exit_status over 125. Such a situation can not occur under any circumstances.
2017-01-17[ci skip] Merge pull request #4986 from ka7/feature/spellingAndrey Andreev1-1/+1
Spelling fixes in comment blocks and docs
2017-01-16spelling fixesklemens1-1/+1
2017-01-03Update copyright data to 2017Master Yoda1-2/+2
2016-12-31Update copyright data to 2017Master Yoda1-2/+2
2016-12-14Drop all PHP 5.3-related codeAndrey Andreev1-4/+3
2016-10-21Fix #4865Andrey Andreev1-0/+1
2016-10-11[ci skip] Add new HTTP status codesAndrey Andreev1-1/+6
https://tools.ietf.org/html/rfc2817 https://tools.ietf.org/html/rfc6585 Requested in #4835
2016-08-19Merge pull request #4777 from tianhe1986/develop_error_handlerAndrey Andreev1-1/+1
Add E_PARSE to errors detected by shutdown handler
2016-07-25Merge pull request #4725 from tianhe1986/develop_url_encode_case_insensitiveAndrey Andreev1-2/+2
Fix remove_invisible_characters() for URL-encoded characters in upper case
2016-07-25Merge pull request #4724 from tianhe1986/develop_is_https_strtolowerAndrey Andreev1-1/+1
Compare X-Forwarded-Proto case-insensitively
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-10-30Fix #3201Andrey Andreev1-1/+6
2015-08-13Fix typo in commentsClaudio Galdiolo1-1/+1
2015-07-22Remove eval()-related logic from function_exists()Andrey Andreev1-13/+3
#3991 shows that all such checks are useless as function_exists('eval') will always return FALSE.
2015-04-20[ci skip] Remove whitespaceAndrey Andreev1-1/+1
2015-04-14Status Code Definitionsftwbzhao1-0/+4
2015-04-08typomult1mate1-1/+1
2015-03-25Remove commentJoshua Logsdon1-1/+0
Signed-off-by: Joshua Logsdon <logsdon.joshua@gmail.com>
2015-03-25Return empty $var immediatelyJoshua Logsdon1-6/+6
Signed-off-by: Joshua Logsdon <logsdon.joshua@gmail.com>
2015-03-24array_fill() throws an error if count($var) is 0Joshua Logsdon1-0/+6
Signed-off-by: Joshua Logsdon <logsdon.joshua@gmail.com>
2015-02-22Common.php: set_status_header: ImproveFieah1-46/+45
1. Verify $code before define $stati 2. Only convert $code to int and define $stati when needed, possibly can save some memory.
2015-02-19Make set_status_header() a dummy under CLIAndrey Andreev1-0/+5
Close #3605
2015-02-04Fixed inconsistent return typesGabriel Potkány1-1/+1
2015-01-31Reduce once server protocol checkbjjay1-3/+2
2015-01-27is_php() more accurate descriptionkakysha1-1/+1