summaryrefslogtreecommitdiffstats
path: root/system/core/URI.php
AgeCommit message (Collapse)AuthorFilesLines
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-31Changed URI auto-detection to try PATH_INFO firstAndrey Andreev1-8/+6
(thanks to @sourcejedi, PR #1326) Up until PHP 5.2.4 (which is our new lowest requirement), there was a bug related to PATH_INFO which made REQUEST_URI a more reliable choice. This is now no longer the case, see https://bugs.php.net/bug.php?id=31892 for more details. Also removed ORIG_PATH_INFO from the suggested alternatives for uri_protocol in application/config/config.php as it will not exist in most of PHP's recent versions and is pointless when you can use PATH_INFO anyway.
2012-10-31Fix issue in resetting QUERY_STRING, GET vars introduced in ↵Andrey Andreev1-26/+2
f2b19fee7876708c7a7bb5cba6b7df682a9d2a53
2012-10-31Fix issues #388 & #705Andrey Andreev1-4/+5
(thanks to @sourcejedi, PR #1326 for pointing inconsistencies with RFC2616
2012-10-31Fix an erroneous variable nameAndrey Andreev1-1/+1
2012-10-31Multiple improvements to the URI classAndrey Andreev1-28/+75
(thanks to @sourcejedi, PR #1326 for most of the ideas) - Renamed _detect_uri() and _parse_cli_args() to _parse_request_uri() and _parse_argv() respectively. - Added _parse_query_string() which allows us to detect the URI path from QUERY_STRING much like it is done in _parse_request_uri(). (the above changes also allow for a simpler logic in the case where the *uri_protocol* setting is not set to 'AUTO') - Updated application/config/config.php with a better list of the *uri_protocol* options. - Added _reset_query_string() to aid in re-processing from the QUERY_STRING (utilized in _parse_request_uri() and _parse_query_string()).
2012-10-31CI_URI::_detect_uri() to accept absolute URIsAndrey Andreev1-20/+20
(thanks to @sourcejedi, PR #1326) For HTTP/1.1 compliance, RFC2616 specifies that both relative and absolute URI formats must be accepted: - http://localhost/path/ (absolute) - /path/ (relative)
2012-10-28[ci skip] URI Library DocBlock improvementsAndrey Andreev1-84/+108
2012-10-27Update system/core/URI.phpvkeranov1-2/+1
2012-10-26Fix an improper usage of empty() in the URI classAndrey Andreev1-1/+1
2012-10-24Improve fix for #1811Andrey Andreev1-0/+1
2012-10-24Fix #1811Andrey Andreev1-6/+8
2012-10-23Fix issue #779Andrey Andreev1-5/+2
2012-06-16Fix issue #999Andrey Andreev1-2/+4
2012-06-15Fix issue #167Andrey Andreev1-1/+1
2012-06-14And yet another missed line from the last oneAndrey Andreev1-1/+1
2012-06-14Fix an issue from d461934184d95b0cfb2feec93f27b621ef72a5c2Andrey Andreev1-3/+3
2012-06-14Fix issue #10 + URI class speed improvementsAndrey Andreev1-8/+12
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-04Revert/optimize some changes from ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5dAndrey Andreev1-1/+1
2012-06-02Fixed bug introduced in ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5dAlex Bilbie1-1/+1
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/coreAlex Bilbie1-7/+7
2012-05-23Input, Session and Cookie get's will return NULL.Phil Sturgeon1-9/+9
Read more about this change here: http://codeigniter.com/forums/viewthread/215833
2012-05-17Cleanup the core classesAndrey Andreev1-34/+33
2012-05-02Reverted rui_string change.Phil Sturgeon1-2/+2
This had knock-on effects as can be seen in #1306. Issue #122 has been reopend until it is fixed properly.
2012-04-26Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into patchTimothy Warren1-1/+1
2012-04-26Fixed issue #122 - ruri_string() in subdirs.Phil Sturgeon1-2/+2
2012-04-23Use tabs to separate class propertiesTimothy Warren1-3/+3
2012-04-19Additional formatting fixesTimothy Warren1-7/+11
2012-03-14Merged unit test progress.Phil Sturgeon1-3/+1
2012-03-14Merge branch 'feature/unit-tests' into developPhil Sturgeon1-2/+16
2012-03-10Remove PHP 5.1.6-specific codeAndrey Andreev1-3/+1
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-04Merged develop and fixed conflicts.Phil Sturgeon1-110/+81
2012-01-08Fixes for issue 896Michiel Vugteveen1-2/+3
2012-01-07Remove a space :)Andrey Andreev1-1/+1
2012-01-07Improve core URI & UTF8 librariesAndrey Andreev1-113/+84
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-11-27Merge branch 'refs/heads/develop' into feature/unit-testsEric Barnes1-4/+16
Conflicts: user_guide/helpers/number_helper.html
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-08-29Merge branch 'develop' into feature/unit-testsEric Barnes1-2/+2
2011-08-28Added tests for CI_URI class. Made modifications to core class whichStephen1-1/+16
helped with isolation for testing.
2011-08-26changed private functions to protected so MY_URI can override them.Paul1-2/+2
2011-08-15Merge branch 'develop' of github.com:philsturgeon/codeigniter-reactor into ↵Phil Sturgeon1-0/+31
develop
2011-08-15Added some docs to CI core filesDavid Behler1-0/+31
2011-08-13Get php_sapi_name() == 'cli' involved in the 'is this the command line?' ↵Phil Sturgeon1-1/+1
decision.
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-7/+7
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-7/+7
2011-04-18Changed server check to ensure SCRIPT_NAME is defined. Fixes #57Eric Barnes1-5/+5
2011-04-05Tightening up control character handling in urlsPascal Kriete1-23/+34