summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
AgeCommit message (Collapse)AuthorFilesLines
2017-01-03Update copyright data to 2017Master Yoda1-2/+2
2016-11-03Fix #4679, for realAndrey Andreev1-1/+1
2016-07-19Fix #4679Andrey Andreev1-2/+2
2016-04-04Fix #4563Andrey Andreev1-12/+14
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-09-07Remove unnecessary count() calls from _sanitize_globals()Andrey Andreev1-3/+3
foreach() just won't execute for an empty array, it does that check internally.
2015-09-07Move csrf_verify() call out of _sanitize_globals()Andrey Andreev1-6/+6
It doesn't belong in there.
2015-08-15Fix #4056Andrey Andreev1-1/+1
2015-08-03[ci skip] Normalize tabs/spacesAndrey Andreev1-2/+2
Partial changes from PR #4016
2015-06-08Fix #3890Andrey Andreev1-5/+13
2015-03-18Updated CI_Input unit test and fixed error "undefined offset" caused by ↵Heesung Ahn1-2/+2
using the same variable name, $i, twice for for loop inside for loop. Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-02-27Make CI_Input:: read-only as wellAndrey Andreev1-1/+5
2015-02-27Fix #3633Andrey Andreev1-0/+1
2015-02-27Eh ... really fix that notice (#3604)Andrey Andreev1-0/+2
2015-02-27Fix an E_NOTICE caused by #3604Andrey Andreev1-13/+30
2015-02-26Merge pull request #3604 from Ignasimg/patch-1Andrey Andreev1-1/+15
Add support for raw_input_stream
2015-02-26Update Input.phpIgnasimg1-3/+3
2015-02-26funny tabs & spaces added and removed.Ignasimg1-18/+20
2015-02-20Added support for raw_input_stream property.Ignasimg1-53/+28
2015-02-19documentation changesIgnasimg1-8/+8
2015-02-06a tiny changeİrfan Evrens1-1/+1
2015-02-06Update Input.phpIgnasimg1-9/+46
Added support for json input stream. (Not tested)
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-20[ci skip] Change some log messages' levelAndrey Andreev1-2/+2
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated.
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-12-02Fix an error from the previous commitAndrey Andreev1-1/+1
2014-12-02Some optimizations & polishing following PR #3381Andrey Andreev1-14/+5
2014-12-02Added changelog entryAhmad Anbar1-6/+6
updated documentation Fixed code style.
2014-12-02Allow pulling multiple get/post ...etc at onceAhmad Anbar1-0/+12
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-10-05config_item() to return NULL instead of FALSE for non-existing itemsAndrey Andreev1-1/+1
Close #3001 Close #3232 Related: #3244
2014-10-03fix doc block get_request_header()Adriano Rosa1-1/+1
This method does not return FALSE as said in doc block, the correct return is STRING or NULL.
2014-05-08[ci skip] Update a comment for CI_Input::input_stream()Andrey Andreev1-2/+2
2014-04-15Fix #3004Andrey Andreev1-50/+1
2014-04-15Follow-up to aeed15eb8556ab671507f17ef9a8cf28903999aaAndrey Andreev1-1/+1
2014-03-21remove eolfabianozenatti1-1/+1
2014-03-21Fix typo in CI_Input constructorfabianozenatti1-2/+2
2014-03-13Partially revert PR #2190Andrey Andreev1-1/+1
The core shouldn't depend on constants that are not defined by itself
2014-02-27Add parameter to CI_Input::user_agent()Andrey Andreev1-14/+2
2014-02-24Don't use globalsAndrey Andreev1-4/+2
- Use load_class() to get objects during bootstrap process. - Change load_class() to accept a class constructor parameter instead of previously unused class name prefix. - Change CI_Router::__construct() to accept as a parameter.
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-02-08CI_Input tweaksAndrey Andreev1-65/+20
- Make get_post(), post_get() and server()'s parameter mandatory. - Change default value of parameter to NULL for cookie(), input_stream() and _fetch_from_array() (for consistency with get(), post()). - Delegate Array-vs-single and parameter detection to _fetch_from_array() to overall simplify the code.
2014-01-08Make newline standardization configurableAndrey Andreev1-4/+5
Added ['standardize_newlines'] Also altered the Session cookie driver, which experienced issues with this feature due to it's HMAC verification failing after the Input class alters newlines in non-encrypted session cookies. Supersedes PR #2470
2014-01-08Fix #346Andrey Andreev1-14/+24
When ['global_xss_filtering'] was turned on, the , , & superglobals were automatically overwritten. This resulted in one of the following problems: - xss_clean() being called twice - Inability to retrieve the original (not filtered) value XSS filtering is now only applied on demand by the Input class, and the default value for the parameter in CI_Input methods is changed to NULL. Unless a boolean value is passed to them, whether XSS filtering is applied depends on the ['global_xss_filtering'] value.
2014-01-08Fix #148Andrey Andreev1-4/+6
CI_Input::_clean_input_data() assumed that all input data is URL-encoded while sanitizing it. However, PHP already performs URL-decoding on it, so this is either redudant or overly intrusive as it resulted in many, many reports of data containing '%' followed by 1 numeric characters being essentially destroyed. Supersedes PR #1229
2014-01-06Make CI_Input::set_cookie() and cookie helpers set_cookie(), get_cookie(), ↵Andrey Andreev1-1/+1
delete_cookie()'s first (name) parameter mandatory
2013-11-12Deprecate CI_Input::is_cli_request() and add common function is_cli() to ↵Andrey Andreev1-3/+4
replace it Calls to this function are often needed before the Input library is available
2013-09-23Fix issue #33Andrey Andreev1-7/+24