Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-01-17 | Minor changes related to CI_User_agent | Andrey Andreev | 1 | -8/+15 | |
Fixed a bug where both accept_charset() and accept_lang() improperly parsed headers if they contained spaces between data separators (which is valid). Also made is_referral() testable by replacing its static cache var with a class property and added some more unit tests for the library as a whole. | |||||
2014-01-15 | Fix #2799 by adding conditional PCRE UTF-8 support to CI_URI::filter_uri() | Andrey Andreev | 2 | -2/+2 | |
Also did a tiny micro-optimization in the Utf8 class. | |||||
2014-01-15 | Fix #2822: Incorrect usage of fwrite() | Andrey Andreev | 6 | -21/+80 | |
We only used to check (and not always) if the return value of fwrite() is boolean FALSE, while it is possible that the otherwise returned bytecount is less than the length of data that we're trying to write. This allowed incomplete writes over network streams and possibly a few other edge cases. | |||||
2014-01-15 | CI_URI changes related to the 'permitted_uri_chars' setting | Andrey Andreev | 2 | -15/+26 | |
- 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-15 | Fix incorrect checks for the fwrite() return value | Andrey Andreev | 3 | -3/+3 | |
! fwrite() could trigger false-positives as it is possible for it to return 0 instead of boolean FALSE. (issue #2822) Also removed an unnecessary log level check that caused an extra space to be inserted for the INFO level. (proposed in PR #2821) | |||||
2014-01-12 | Merge pull request #2808 from melounek/filename_as_url | Andrey Andreev | 1 | -9/+9 | |
attach files by absolute url | |||||
2014-01-10 | Finally get rid of the CI_Router::_set_overrides() calls | Andrey Andreev | 2 | -38/+23 | |
2014-01-10 | condition repair and comments | Petr Heralecky | 1 | -3/+3 | |
2014-01-10 | rename src to file | Petr Heralecky | 1 | -9/+9 | |
2014-01-10 | attach files by absolute url | Petr Heralecky | 1 | -10/+10 | |
2014-01-10 | Further changes related to PR #2807 | Andrey Andreev | 1 | -11/+12 | |
2014-01-10 | variable repair | Petr Heralecky | 1 | -2/+2 | |
2014-01-10 | styleguided 2 | Petr Heralecky | 1 | -3/+1 | |
2014-01-10 | styleguided | Petr Heralecky | 1 | -10/+16 | |
2014-01-10 | Added Email::attach_cid() returning CID | Petr Heralecky | 1 | -32/+55 | |
2014-01-09 | Add HTTP response code 307 support in URL helper redirect() | Andrey Andreev | 1 | -5/+10 | |
2014-01-09 | Implement atomic increment/decrement in Cache library | Andrey Andreev | 7 | -61/+324 | |
Requested via issue #109 Supersedes PR #241 | |||||
2014-01-09 | Fix #133 | Andrey Andreev | 1 | -1/+6 | |
2014-01-09 | Merge pull request #2802 from marcossffilho/develop | Andrey Andreev | 1 | -5/+41 | |
Calendar Updates | |||||
2014-01-09 | Updates for the Calendar Pull Request | Marcos SF Filho | 1 | -1/+1 | |
2014-01-09 | Fixed the comment and array alignment. | Ahmedul Haque Abid | 1 | -2/+2 | |
2014-01-09 | Added space after 'if' condition | Ahmedul Haque Abid | 1 | -1/+1 | |
2014-01-09 | Changed the rest of 'error_msg' to 'errors' | Ahmedul Haque Abid | 1 | -6/+6 | |
2014-01-09 | Added the missing "is" in the comment | Ahmedul Haque Abid | 1 | -1/+1 | |
2014-01-09 | Merge branch 'develop' into feature/form_validation/custom_error_per_field | Ahmedul Haque Abid | 3 | -3/+32 | |
2014-01-09 | Updated comment messages. | Ahmedul Haque Abid | 1 | -2/+2 | |
2014-01-09 | Removed extra space between closing parenthesis. | Ahmedul Haque Abid | 1 | -1/+1 | |
2014-01-09 | Fixed a missed variable $errors in set_rules(). | Ahmedul Haque Abid | 1 | -1/+1 | |
2014-01-09 | Changed $error_msg to $errors | Ahmedul Haque Abid | 1 | -4/+4 | |
2014-01-09 | Add CI_User_agent::parse() to allow parsing a custom user-agent string | Andrey Andreev | 1 | -0/+28 | |
Based on PR #970 | |||||
2014-01-08 | Remove preg_quote() call from CI_User_agent::_set_browser() and add another ↵ | Andrey Andreev | 1 | -1/+1 | |
pattern for Opera Input comes from a configuration file that is barely touched by anyone and the default values only contain letters, so it is safe to not quote them. This enables us to add a more advanced pattern in config/user_agents.php for Opera 10+, which ... quote: Opera/9.80 is hard coded at the beginning of the user agent string because of broken browser sniffing scripts which detect 'Opera/10' and above as Opera 1. (reference: http://my.opera.com/community/openweb/idopera/) Instead, latests versions of Opera append ' Version/<version number>' to the end of the user agent string. Fixes issue #555 (incorrect browser detection for Opera) | |||||
2014-01-08 | Unnecessary rtrim and update docs for Calendar class | Marcos SF Filho | 1 | -1/+1 | |
2014-01-08 | Join two if statement into one | Marcos SF Filho | 1 | -5/+2 | |
2014-01-08 | Code Corrections for the Calendar Pull Request | Marcos SF Filho | 1 | -21/+18 | |
2014-01-08 | Fix 2 errors caused by recent commits | Andrey Andreev | 2 | -2/+3 | |
2014-01-08 | Added custom error messages functionality for individual fields. | Ahmedul Haque Abid | 1 | -4/+20 | |
2014-01-08 | Update the Calendar Class | Marcos SF Filho | 1 | -6/+48 | |
2014-01-08 | Make newline standardization configurable | Andrey Andreev | 2 | -5/+29 | |
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-08 | Fix #346 | Andrey Andreev | 2 | -15/+26 | |
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-08 | Fix #148 | Andrey Andreev | 1 | -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-08 | Optimize get_instance() calls/assignments | Andrey Andreev | 12 | -51/+35 | |
2014-01-08 | A tiny improvement in CI_Upload::do_xss_clean() | Andrey Andreev | 1 | -2/+1 | |
2014-01-08 | Some small improvements to the Xmlrpc class | Andrey Andreev | 1 | -11/+11 | |
2014-01-08 | Update the CI_Hooks class | Marcos SF Filho | 1 | -18/+16 | |
2014-01-07 | Class for execute Hooks can be stored for reuse | Marcos SF Filho | 1 | -8/+33 | |
2014-01-07 | Fix a few bugs in CI_Hook (based on PR #2762) | Andrey Andreev | 1 | -4/+8 | |
2014-01-07 | A tiny regexp improvement for CI_DB_driver::is_write_type() | Andrey Andreev | 3 | -3/+3 | |
2014-01-07 | Change Text helper default tag from <strong> to <mark> | Andrey Andreev | 1 | -16/+8 | |
Supersedes PR #1497 | |||||
2014-01-07 | Add ability for changing the original file path/name in CI_Zip::read_file() | Andrey Andreev | 1 | -11/+14 | |
Supersedes PR #884 | |||||
2014-01-07 | Fix #2143 | Andrey Andreev | 1 | -9/+6 | |
When trying to load rules from a configuration file, the Form validation library matched against ruri_string() as opposed to 'controller/method' like described in the manual. Since ruri_string() also makes sense, now both are being checked with ruri_string() having a higher precedence. Supersedes PR #2224 |