Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-01-18 | Fix CI_URI:: not being properly indexed | Andrey Andreev | 1 | -0/+3 | |
2014-01-18 | Fix #2827 | Andrey Andreev | 1 | -1/+1 | |
2014-01-16 | URI Routing overhaul | Andrey Andreev | 1 | -169/+83 | |
- Allow multiple levels of controller directories (supersedes PRs #390, #2439) - Add support for per-directory 'defaul_controller' and '404_override' (resolves issue #2611; supersedes PR #939) - Fixed a bug where default_controller was called instead of triggering 404 if the current route is inside a directory - Removed a few calls from CI_Router to CI_URI that made a necessity for otherwise internal CI_URI methods to be public: - Removed CI_URI::_fetch_uri_string() and moved its logic into CI_URI::__construct() - Removed CI_URI::_remove_url_suffix, CI_URI::_explode_segments() and moved their logic into CI_URI::_set_uri_string() - Removed CI_URI::_reindex_segments() altogether ( doesn't need further manipulation, while is public anyway and can be properly (and more effectively) replaced on the spot) | |||||
2014-01-15 | Fix #2799 by adding conditional PCRE UTF-8 support to CI_URI::filter_uri() | Andrey Andreev | 1 | -1/+1 | |
Also did a tiny micro-optimization in the Utf8 class. | |||||
2014-01-15 | CI_URI changes related to the 'permitted_uri_chars' setting | Andrey Andreev | 1 | -12/+23 | |
- Initialize and cache the value in the class constructor instead of searching for it every time - Removed the preg_quote() call from _filter_uri() to allow more fine-tuning from configuration - Renamed _filter_uri() to filter_uri() - it was public anyway and using it cannot break anything Related: issue #2799 | |||||
2014-01-03 | A tiny improvement in ruri_string() | Andrey Andreev | 1 | -6/+1 | |
2013-11-12 | Deprecate CI_Input::is_cli_request() and add common function is_cli() to ↵ | Andrey Andreev | 1 | -18/+1 | |
replace it Calls to this function are often needed before the Input library is available | |||||
2013-04-08 | Replace another fetch_directory() use | Andrey Andreev | 1 | -1/+1 | |
2013-02-15 | Various cosmetic fixes | vlakoff | 1 | -1/+1 | |
2013-01-11 | URI->_remove_url_suffix() : more efficient code | vlakoff | 1 | -3/+3 | |
related to #2135 | |||||
2013-01-10 | URI->_remove_url_suffix() : suffix has to be at the end of uri_string | vlakoff | 1 | -2/+9 | |
related to #2135 | |||||
2013-01-07 | minor tweaks and optimizations: minimize function calls in ↵ | Ted Wood | 1 | -7/+7 | |
_fetch_uri_string(); use constant PHP_SAPI instead of function php_sapi_name() | |||||
2013-01-03 | Merge pull request #2106 from danhunsaker/feature/uri-extensibility | Andrey Andreev | 1 | -12/+2 | |
Improved extensibility of the URI class | |||||
2013-01-01 | [ci skip] Happy new year | Andrey Andreev | 1 | -1/+1 | |
2012-12-31 | Improved extensibility of the URI class by modifying `_uri_assoc()` to (1) ↵ | Daniel Hunsaker | 1 | -12/+2 | |
not force a specific list of valid options for `$which`, and (2) build the `$segment_array` and `$total_segments` dynamically regardless of the contents of `$which`. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com> | |||||
2012-12-06 | Another use of CI_URI::_remove_relative_directory() | Andrey Andreev | 1 | -1/+1 | |
2012-12-06 | Updated formatting and styleguide, thanks narfbg; | CJ | 1 | -7/+13 | |
2012-12-06 | Bug fix for relative directory removal | chernjie | 1 | -1/+20 | |
This fixes two bugs: - for segments that ends with ".." e.g. /user/username../details, this should not be replaced - current solution only replace double slashes, this solutions removes the infinite number of recurring slashes | |||||
2012-11-02 | Fix #1956 | Andrey Andreev | 1 | -1/+1 | |
2012-11-01 | Fix issue #122 | Andrey Andreev | 1 | -1/+8 | |
2012-11-01 | Manually apply PR #1594 (fixing phpdoc page-level generation/warnings) | Andrey Andreev | 1 | -1/+2 | |
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files. | |||||
2012-10-31 | Changed URI auto-detection to try PATH_INFO first | Andrey Andreev | 1 | -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-31 | Fix issue in resetting QUERY_STRING, GET vars introduced in ↵ | Andrey Andreev | 1 | -26/+2 | |
f2b19fee7876708c7a7bb5cba6b7df682a9d2a53 | |||||
2012-10-31 | Fix issues #388 & #705 | Andrey Andreev | 1 | -4/+5 | |
(thanks to @sourcejedi, PR #1326 for pointing inconsistencies with RFC2616 | |||||
2012-10-31 | Fix an erroneous variable name | Andrey Andreev | 1 | -1/+1 | |
2012-10-31 | Multiple improvements to the URI class | Andrey Andreev | 1 | -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-31 | CI_URI::_detect_uri() to accept absolute URIs | Andrey Andreev | 1 | -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 improvements | Andrey Andreev | 1 | -84/+108 | |
2012-10-27 | Update system/core/URI.php | vkeranov | 1 | -2/+1 | |
2012-10-26 | Fix an improper usage of empty() in the URI class | Andrey Andreev | 1 | -1/+1 | |
2012-10-24 | Improve fix for #1811 | Andrey Andreev | 1 | -0/+1 | |
2012-10-24 | Fix #1811 | Andrey Andreev | 1 | -6/+8 | |
2012-10-23 | Fix issue #779 | Andrey Andreev | 1 | -5/+2 | |
2012-06-16 | Fix issue #999 | Andrey Andreev | 1 | -2/+4 | |
2012-06-15 | Fix issue #167 | Andrey Andreev | 1 | -1/+1 | |
2012-06-14 | And yet another missed line from the last one | Andrey Andreev | 1 | -1/+1 | |
2012-06-14 | Fix an issue from d461934184d95b0cfb2feec93f27b621ef72a5c2 | Andrey Andreev | 1 | -3/+3 | |
2012-06-14 | Fix issue #10 + URI class speed improvements | Andrey Andreev | 1 | -8/+12 | |
2012-06-12 | Change file permissions for system/core/*.php and system/database/DB.php so ↵ | Andrey Andreev | 1 | -0/+0 | |
that they don't differ from the rest | |||||
2012-06-04 | Revert/optimize some changes from ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5d | Andrey Andreev | 1 | -1/+1 | |
2012-06-02 | Fixed bug introduced in ed944a3c70a0bad158cd5a6ca5ce1f2e717aff5d | Alex Bilbie | 1 | -1/+1 | |
2012-06-02 | Replaced `==` with `===` and `!=` with `!==` in /system/core | Alex Bilbie | 1 | -7/+7 | |
2012-05-23 | Input, Session and Cookie get's will return NULL. | Phil Sturgeon | 1 | -9/+9 | |
Read more about this change here: http://codeigniter.com/forums/viewthread/215833 | |||||
2012-05-17 | Cleanup the core classes | Andrey Andreev | 1 | -34/+33 | |
2012-05-02 | Reverted rui_string change. | Phil Sturgeon | 1 | -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-26 | Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into patch | Timothy Warren | 1 | -1/+1 | |
2012-04-26 | Fixed issue #122 - ruri_string() in subdirs. | Phil Sturgeon | 1 | -2/+2 | |
2012-04-23 | Use tabs to separate class properties | Timothy Warren | 1 | -3/+3 | |
2012-04-19 | Additional formatting fixes | Timothy Warren | 1 | -7/+11 | |
2012-03-14 | Merged unit test progress. | Phil Sturgeon | 1 | -3/+1 | |