summaryrefslogtreecommitdiffstats
path: root/system/libraries
AgeCommit message (Collapse)AuthorFilesLines
2013-01-29Replace CI_Upload::clean_file_name() usage with CI_Security::sanitize_filename()Andrey Andreev1-48/+2
Also applied @xeptor's fix (a big thanks) to the sanitize_filename() method and added a changelog entry for it - fixes issue #73.
2013-01-29Replace is_file() with the faster file_exists()Andrey Andreev1-5/+8
(where it makes sense) Also: - Implemented caching of configuration arrays for smileys, foreign characters and doctypes. - Implemented cascading-style loading of configuration files (except for library configs, DB and constants.php).
2013-01-28Some micro-optimization to the Driver library loaderAndrey Andreev1-10/+9
2013-01-28Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developAndrey Andreev1-1/+8
2013-01-28Libraries' filenames must be named in a ucfirst-like mannerAndrey Andreev3-1/+1
2013-01-28Remove str_replace in returngommarah1-1/+1
2013-01-28Upload library, clean_file_name function: Fix xss bug.gommarah1-0/+7
For example: If you clear this string "%%3f3f" according to the $bad array will fail. The result will be "%3f" Because str_replace() replaces left to right. Signed-off-by: xeptor <servetozkan@live.com>
2013-01-28Remove unnecessary defined('ENVIRONMENT') checksAndrey Andreev1-1/+1
As suggested in issue #2134 & PR #2149
2013-01-26Fix a code comment in Image_libvlakoff1-1/+1
constant FILE_WRITE_MODE contains octal 0666
2013-01-25Fix issue #2191.Edwin Aw1-1/+1
Signed-off-by: Edwin Aw <tkaw220@gmail.com>
2013-01-15A few adjustments to previous commitvlakoff1-1/+1
2013-01-14Replace is_null() with === / !== NULLvlakoff8-13/+13
Exact same behavior, but faster. I also think it's more readable.
2013-01-10A tiny improvementAndrey Andreev1-3/+2
2013-01-09fix imagejpeg() parameter, should be NULL instead of empty stringTed Wood1-1/+1
2013-01-03Fix #2108Andrey Andreev1-1/+1
2013-01-01[ci skip] Happy new yearAndrey Andreev33-33/+33
2012-12-17Merge pull request #2077 from AndrewPodner/developAndrey Andreev4-25/+25
update for Issue #2064 - take 2
2012-12-17update for Issue #2064 (changed docblocks which return $this or only call a ↵Andrew Podner4-25/+25
method that returns $this to @return CI_DB_class_name)
2012-12-17Fix 2073Andrey Andreev1-1/+1
2012-12-17Fix #2074Andrey Andreev1-1/+1
2012-12-14Fix issue #539Andrey Andreev1-4/+10
Form validation language line keys were not prefixed. They are now prefixed with 'form_validation_' in order to avoid collisions. The old keys will still work if a prefixed match is not found, but are DEPRECATED and will be removed in the next major version. Also added upgrade notes and changelog entries for the new error message format from PR #961.
2012-12-12Format tweaksEric Roberts1-2/+2
Signed-off-by: Eric Roberts <eric@cryode.com>
2012-12-12Merge branch 'refs/heads/develop' into feature/form_error_msgsEric Roberts40-2546/+6124
Conflicts: system/language/english/form_validation_lang.php user_guide_src/source/libraries/form_validation.rst Signed-off-by: Eric Roberts <eric@cryode.com>
2012-12-03Add min_width and min_height options to the Upload classAndrey Andreev1-0/+52
(manually implementing outdated PR #636)
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev10-19/+15
2012-11-28Fix #2037Andrey Andreev1-6/+8
2012-11-28Remove CommentWilliam Knauss1-1/+0
As requested removed useless comment
2012-11-27Children DriversWilliam Knauss1-3/+11
This allows developers to create children drivers that are not prefix with "CI_". This is a nity grity change, however it keeps with the mindset that class names that start with CI_ are typically overrides of core classes.
2012-11-26Add 'valid_url' rule to Form Validation (issue #1966)Andrey Andreev1-0/+42
2012-11-26CI_Email::print_debugger() option to limit the type of data to be printedAndrey Andreev1-2/+23
(an alternative to PR #1759; partially solves issue #1742)
2012-11-26Switch CI_Form_validation:: to publicAndrey Andreev1-1/+1
Makes it easier to access the data after validation (issue #1208)
2012-11-26Manually implement PR #2033Andrey Andreev1-1/+1
Check for an empty encryption_key shouldn't use strict comparison.
2012-11-25Merge pull request #2026 from johnathancroom/keep_flash_data_arrayAndrey Andreev1-1/+12
keep_flashdata accepts array
2012-11-25Improved array keey_flashdata + ChangelogJohnathan Croom1-13/+15
2012-11-25Revert some of the changes from PR #2029Andrey Andreev1-42/+24
We have file naming conventions and any extension filename needs to match MY_<orig_filename>, so we don't need to check for lowercase equivalents.
2012-11-25Added support for extending individual driver classes and driver unit testsdchill423-50/+107
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-11-24Requested changed to keep_flashdataJohnathan Croom1-4/+3
2012-11-24keep_flashdata accepts arrayJohnathan Croom1-8/+18
2012-11-23Minor changes to Xmlrpcs.phpvkeranov1-30/+27
2012-11-23Minor changes to Xmlrpc.phpvkeranov1-13/+12
2012-11-23[ci skip] Remove a lone semicolon (rel 2d48b4f1a174473fa0539769a433ba78305c0faa)Andrey Andreev1-1/+1
2012-11-23Fix #113Andrey Andreev1-1/+2
2012-11-233.0.0-dev: Fixing the issue #2023.Ivan Tcholakov1-1/+1
CI_Cart initialization: Session data presense should be tested against NULL, not FALSE.
2012-11-22Fix issue #118 (manually implementing PR #1832)Andrey Andreev1-2/+2
2012-11-22Manually apply a fix submitted via PR #2012, #2016Andrey Andreev1-6/+8
2012-11-21Change fs permissions and add some missing index.html files (#2017)Andrey Andreev9-0/+50
2012-11-20Fix #18Andrey Andreev1-6/+9
2012-11-15Revert a change from 7a7ad782b2f125622509a77c5a6f94ad4ae0f93cAndrey Andreev1-1/+5
sscanf() is lightning fast, but doesn't have such thing as greediness and this breaks rule parameters containing a closing square bracket.
2012-11-13Merge pull request #1258 from cryode/feature/robot_mobileAndrey Andreev1-0/+1
Add mobile detection to robot user agents.
2012-11-13Clean-up following PR #1949Andrey Andreev1-29/+31