summaryrefslogtreecommitdiffstats
path: root/system
AgeCommit message (Collapse)AuthorFilesLines
2013-01-29Replace CI_Upload::clean_file_name() usage with CI_Security::sanitize_filename()Andrey Andreev2-49/+11
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-29Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developAndrey Andreev3-0/+3
2013-01-29Replace is_file() with the faster file_exists()Andrey Andreev8-38/+65
(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-29Replace is_numeric() with ctype_digit()Eric Roberts1-6/+13
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-29Move $get assignment to if/else.Eric Roberts1-2/+4
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-29Fix list_fields seek bugChris Buckley3-0/+3
On the first list_fields call, the field pointer is moved to the end of the list of fields. This change ensures that the pointer is positioned at the start of the field list before grabbing the names. Signed-off-by: Chris Buckley <chris@cmbuckley.co.uk>
2013-01-29Remove spaces from concats.Eric Roberts1-5/+5
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-28Fix issue #2202 and alter Loader Class docsAndrey Andreev1-1/+1
2013-01-28Some micro-optimization to the Driver library loaderAndrey Andreev1-10/+9
2013-01-28Fix issue #2179Andrey Andreev1-1/+1
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 Andreev4-85/+61
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-28Fix auto_link() for the Nth timeAndrey Andreev1-9/+10
- anchor() is for local links and breaks ones that don't have a protocol prefix - Allow :// links (no actual protocol specified) - Further simplified the URL regular expression
2013-01-28Multiple pagination bug fixes & optimizations.Eric Roberts1-83/+107
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-28Merge branch 'develop' of github.com:EllisLab/CodeIgniter into developAndrey Andreev1-2/+2
2013-01-28Remove unnecessary defined('ENVIRONMENT') checksAndrey Andreev11-18/+14
As suggested in issue #2134 & PR #2149
2013-01-28Fix newline standardization.Eric Roberts1-2/+2
Signed-off-by: Eric Roberts <eric@cryode.com>
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-24Move db_select() call from CI_DB_driver::initialize() to db_connect()Andrey Andreev3-15/+27
so that it's only called by drivers that need it ('mysql', 'mssql'). As proposed in issue #2187.
2013-01-22Merge pull request #2164 from cryode/bug/auto_linkAndrey Andreev1-27/+18
Fix and optimize auto_link() URL helper function.
2013-01-21Adjust regex.Eric Roberts1-1/+1
2013-01-21Partially implement PR #2155Andrey Andreev1-0/+2
2013-01-21[ci skip] Manually apply #2162, #2163Andrey Andreev1-1/+1
2013-01-19Support minify table blockPurwandi1-4/+4
2013-01-19Remove whitespace from empty lines.Eric Roberts1-5/+5
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-18Merge pull request #2151 from cryode/feature/output-cache-improvementsAndrey Andreev1-4/+18
Add headers to Output class cache files.
2013-01-18Return spacing on var definitions.Eric Roberts1-6/+6
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-18Fix and optimize auto_link() URL helper function.Eric Roberts1-31/+22
Signed-off-by: Eric Roberts <eric@cryode.com>
2013-01-17Fix issues #2160, #2161Andrey Andreev1-11/+6
2013-01-17Merge branch 'develop' of https://github.com/EllisLab/CodeIgniter into ↵Eric Roberts12-27/+27
feature/output-cache-improvements
2013-01-15A few adjustments to previous commitvlakoff2-2/+2
2013-01-14Replace is_null() with === / !== NULLvlakoff12-28/+28
Exact same behavior, but faster. I also think it's more readable.
2013-01-12Merge branch 'develop' of https://github.com/EllisLab/CodeIgniter into ↵Eric Roberts1-2/+2
feature/output-cache-improvements
2013-01-12Improve output cache.Eric Roberts1-10/+24
2013-01-12Implement autoload model aliasing (#2117)Andrey Andreev1-2/+2
2013-01-11Merge pull request #2145 from vlakoff/developAndrey Andreev1-2/+9
URI->_remove_url_suffix() : suffix has to be at the end of uri_string
2013-01-11URI->_remove_url_suffix() : more efficient codevlakoff1-3/+3
related to #2135
2013-01-10A tiny improvementAndrey Andreev1-3/+2
2013-01-10URI->_remove_url_suffix() : suffix has to be at the end of uri_stringvlakoff1-2/+9
related to #2135
2013-01-10Unify escape_str() array input and LIKE logicAndrey Andreev13-345/+87
Added protected method _escape_str() to deal with quote escaping.
2013-01-10Fix SQLSRV escape_str()Andrey Andreev1-1/+23
2013-01-10Merge pull request #2127 from TheDigitalOrchard/uri-lib-optimizationsAndrey Andreev1-7/+7
minor tweaks and optimizations to URI library
2013-01-10Apply improvement proposed in #2142Andrey Andreev2-2/+2
2013-01-10Merge pull request #2139 from timw4mail/developAndrey Andreev1-1/+1
Fix interbase limit issue for subqueries
2013-01-09Fix interbase limit issue for subqueriesTimothy Warren1-1/+1
2013-01-09fix imagejpeg() parameter, should be NULL instead of empty stringTed Wood1-1/+1
2013-01-07minor tweaks and optimizations: minimize function calls in ↵Ted Wood1-7/+7
_fetch_uri_string(); use constant PHP_SAPI instead of function php_sapi_name()