summaryrefslogtreecommitdiffstats
path: root/system/core/Input.php
AgeCommit message (Collapse)AuthorFilesLines
2013-01-28Fix newline standardization.Eric Roberts1-2/+2
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-31Fixed normalization of headers under ApacheDaniel Hunsaker1-1/+1
The existing header normalization routine converts headers provided by Apache (that is, with `-` in the name instead of `_`) to all lowercase, with the exception of the first character. This is different from the expected result, wherein each word of the header is capitalized. For example, `CONTENT-LENGTH` would normalize to `Content-length` instead of the expected `Content-Length`. The reason for this is that the existing code is only converting underscores to spaces, and leaving hyphens untouched. The fix is to replace hyphens with spaces as well before passing the result through `ucwords()`. That fix is included here. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2012-11-20Fix CI_Input::get() and CI_Input::post() not returning array when a key is ↵Andrey Andreev1-2/+12
not specified
2012-11-12Some micro-optimizationsAndrey Andreev1-2/+2
2012-11-06Added CI_Input::input_stream()Andrey Andreev1-0/+41
Helps in reading php://input stream data by caching it when accessed for the first time. (supersedes PR #1684)
2012-11-05Merge pull request #1730 from damao/developAlex Bilbie1-1/+1
Fix / Disallowed Key Characters.
2012-11-02Some micro-optimizationsAndrey Andreev1-6/+2
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-27Remove extra new linesvkeranov1-1/+0
2012-10-27Input class improvementsAndrey Andreev1-107/+121
- Disable register_globals replication on PHP 5.4+ (no longer exists). - DocBlock improvements. - Add missing changelog entry. - Change user_agent() to return NULL when no value is found (for consistency with other fetcher methods).
2012-10-13Fix CI_Input::ip_address() subnet detectionAndrey Andreev1-20/+28
2012-10-09Remove an unnecessary variable initializationAndrey Andreev1-1/+1
2012-10-09Merge changes from developAndrey Andreev1-13/+3
2012-10-09Merge changes from 2.1-stableAndrey Andreev1-49/+48
2012-10-06Add IPv6 and array() support for *proxy_ips* configurationAndrey Andreev1-42/+99
2012-10-04Misc. style fixes [ci skip]Andrey Andreev1-8/+12
2012-09-20Fixes issue #1815 - input::ip_address() returns incorrect IP behind proxyAdam McCann1-1/+1
2012-08-20China's biggest ICP China Telecom will hijack user and leave a cookie ↵bigCat1-1/+1
contains | . such as "1345466626|7601294|43373|0|0|0" it's impossible to fix this shit...
2012-07-23Update system/core/Input.phpJordan Pittman1-11/+17
2012-07-21Added support for IP Address Range Masks (e.g. 192.168.137.0/24) to the ↵Jordan Pittman1-2/+19
Proxy IPs config option
2012-06-12Change file permissions for system/core/*.php and system/database/DB.php so ↵Andrey Andreev1-0/+0
that they don't differ from the rest
2012-06-10Merge branch 2.1-stable into developAndrey Andreev1-4/+16
2012-06-06removed ip_version()Joffrey Jaffeux1-21/+1
2012-06-06styling guide false -> FALSEJoffrey Jaffeux1-1/+1
2012-06-06ip_version() now returns int instead of stringJoffrey Jaffeux1-3/+3
2012-06-06follow styling guideJoffrey Jaffeux1-1/+1
2012-06-06Add support for ipv6Joffrey Jaffeux1-1/+21
2012-06-04Revert/optimize some changes from ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5dAndrey Andreev1-2/+6
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/coreAlex Bilbie1-9/+9
2012-05-23Input, Session and Cookie get's will return NULL.Phil Sturgeon1-2/+2
Read more about this change here: http://codeigniter.com/forums/viewthread/215833
2012-05-17Cleanup the core classesAndrey Andreev1-16/+15
2012-04-30Reverted recent commit, cookie_prefix was breaking things.Phil Sturgeon1-1/+0
2012-04-27Update system/core/Input.php ziv1-0/+1
Fix a cookie get back problem. Cookie $index should start with a prefix.
2012-04-23Use tabs to separate class propertiesTimothy Warren1-7/+7
2012-04-19Fix syntax errorTimothy Warren1-1/+1
2012-04-19Additional formatting fixesTimothy Warren1-100/+121
2012-03-18add support for httponly cookiesfreewil1-4/+9
2012-03-10Remove PHP 5.1.6-specific codeAndrey Andreev1-30/+1
2012-03-09Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developPhil Sturgeon1-0/+17
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-03-07comment fixMichiel Vugteveen1-1/+1
2012-03-07oopsMichiel Vugteveen1-1/+1
2012-03-07removed is_methodMichiel Vugteveen1-18/+6
2012-03-07added method() and is_method()Michiel Vugteveen1-0/+29
2012-02-08Remove a few spacesAndrey Andreev1-2/+2
2012-02-08Fix CI_Input::is_ajax_request()Andrey Andreev1-37/+29
2012-02-05Adding in a few 503 status codes for common errors in response to this ↵Kevin Cupp1-0/+1
ExpressionEngine bug about errors getting cached by reverse proxies who cache 200 responses: http://expressionengine.com/bug_tracker/bug/17420
2012-01-08Switch private methods to protectedAndrey Andreev1-5/+5
2012-01-08Switch some public properties to protectedAndrey Andreev1-6/+4