Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-07-11 | Use negative length for speeding up. | tianhe1986 | 1 | -1/+1 | |
Signed-off-by: tianhe1986 <w1s2j3229@163.com> | |||||
2016-07-06 | Update Upload.php | chestnutprog | 1 | -1/+1 | |
特殊文件名可能会引起bug | |||||
2016-05-19 | Fixed PHPDoc parameter name and type discrepancies | Kasim Tan | 1 | -1/+1 | |
2016-02-04 | Fix #4430 | Andrey Andreev | 1 | -0/+6 | |
2016-01-11 | [ci skip] Update ellislab.com links to https too | Andrey Andreev | 1 | -1/+1 | |
2016-01-11 | [ci skip] Update codeigniter.com links to https | Andrey Andreev | 1 | -2/+2 | |
2016-01-11 | [ci skip] Bump year to 2016 | Andrey Andreev | 1 | -2/+2 | |
2015-08-03 | [ci skip] Normalize tabs/spaces | Andrey Andreev | 1 | -1/+1 | |
Partial changes from PR #4016 | |||||
2015-07-23 | Fix an issue with CI_Upload max filesize | Andrey Andreev | 1 | -0/+16 | |
Reported via the forums: http://forum.codeigniter.com/thread-62510.html | |||||
2015-07-09 | Fix #3965 | Andrey Andreev | 1 | -9/+3 | |
2015-06-22 | Alter CI_Upload logging levels | Andrey Andreev | 1 | -23/+22 | |
Close #3920 | |||||
2015-01-22 | Merge pull request #3490 from vlakoff/file_endings | Andrey Andreev | 1 | -3/+0 | |
[ci skip] Remove closing blocks at end of PHP files | |||||
2015-01-21 | [ci skip] Whitespace removal | Andrey Andreev | 1 | -3/+0 | |
2015-01-21 | Remove closing blocks at end of PHP files | vlakoff | 1 | -3/+0 | |
2015-01-20 | [ci skip] Change some log messages' level | Andrey Andreev | 1 | -1/+1 | |
'Class Loaded' type of messages flood log files when log_threshold is set to 2 (debug). They're now logged as 'info' level. This is manually applying PR #1528, which was created to do the same thing, but became outdated. | |||||
2015-01-09 | Bulk (mostly documentation) update | Andrey Andreev | 1 | -3/+3 | |
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450 | |||||
2014-10-27 | [ci skip] Switch to MIT license; close #3293 | Andrey Andreev | 1 | -14/+25 | |
2014-08-27 | Close #3205 | Andrey Andreev | 1 | -18/+4 | |
2014-08-06 | Change name didn't work if reset initialization it's true | Joseba Juániz | 1 | -11/+14 | |
If user initializes the upload library with the reset flag as true, the uploaded file doesn't change it's name, it's neccesary to initialize or change the $_file_name_override every time. | |||||
2014-02-26 | Don't use error suppression on is_dir(), file_exists() | Andrey Andreev | 1 | -1/+1 | |
2014-02-26 | Don't use error suppression on realpath() + style adjustments | Andrey Andreev | 1 | -1/+1 | |
2014-02-25 | Add array notation support for file field names in CI_Upload | Andrey Andreev | 1 | -7/+28 | |
Requested in #1691 | |||||
2014-02-21 | [ci skip] Alter a docblock | Andrey Andreev | 1 | -1/+1 | |
2014-02-21 | CI_Upload changes | Andrey Andreev | 1 | -153/+129 | |
- Method chaining support. - A more abstract resetting of the default settings. - Added an option to initialize() to disable resetting to default settings. - Removed method mimes_types() and slightly optimized chunks of code where it was used. - Added the ability to pass allowed_types as an array. | |||||
2014-02-20 | Don't use error suppression on ini_get() either | Andrey Andreev | 1 | -1/+1 | |
2014-02-11 | 2013 > 2014 | darwinel | 1 | -1/+1 | |
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015. | |||||
2014-01-08 | Optimize get_instance() calls/assignments | Andrey Andreev | 1 | -10/+13 | |
2014-01-08 | A tiny improvement in CI_Upload::do_xss_clean() | Andrey Andreev | 1 | -2/+1 | |
2013-10-21 | Add CI_Upload:: option | Andrey Andreev | 1 | -1/+9 | |
2013-09-13 | Improvements to safe_mode detection (it doesn't exist in PHP 5.4) | Andrey Andreev | 1 | -1/+1 | |
2013-08-06 | Various typos and tabs adjustments | vlakoff | 1 | -1/+1 | |
2013-07-17 | Merge pull request #2417 from thefuzzy0ne/fix/upload_dry | Andrey Andreev | 1 | -9/+5 | |
Fix/upload dry | |||||
2013-06-25 | New var name to make it more comprehensive | Adrian | 1 | -7/+10 | |
Changes to follow the styleguide, proposed by narfbg (thanks to him) | |||||
2013-06-24 | Add a config var to let the choice of having the lower case on the ↵ | Adrian | 1 | -1/+13 | |
extensions when uploading. The default value is set to FALSE. | |||||
2013-06-24 | Force the file extension to lower case | Adrian | 1 | -2/+2 | |
2013-04-01 | Merge pull request #2369 from vlakoff/develop-2 | Andrey Andreev | 1 | -1/+0 | |
Some cleanup related to mt_rand() | |||||
2013-03-30 | Reverted indenting spaces back to tabs. | Darren Benney | 1 | -9/+9 | |
(My fault - Sorry!) | |||||
2013-03-30 | Made set_error() method DRY. | Darren Benney | 1 | -14/+10 | |
2013-03-30 | Modified do_upload() to use UPLOAD_ERR constants. | Darren Benney | 1 | -7/+7 | |
Modified switchcase in the do_upload() use the UPLOAD_ERR_* constants, instead of just using an integer, and then commenting out the constant beside it. | |||||
2013-03-30 | Some cleanup related to mt_rand() | vlakoff | 1 | -1/+0 | |
- min and max values are 0 and mt_getrandmax() by default - remove useless mt_srand() seed calls | |||||
2013-02-19 | Fix a code comment in Upload->_file_mime_type() | vlakoff | 1 | -2/+2 | |
Availability of dangerous functions is now tested using function_usable(). | |||||
2013-02-15 | Various cosmetic fixes | vlakoff | 1 | -2/+2 | |
2013-01-29 | Replace CI_Upload::clean_file_name() usage with CI_Security::sanitize_filename() | Andrey Andreev | 1 | -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-28 | Remove str_replace in return | gommarah | 1 | -1/+1 | |
2013-01-28 | Upload library, clean_file_name function: Fix xss bug. | gommarah | 1 | -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-01 | [ci skip] Happy new year | Andrey Andreev | 1 | -1/+1 | |
2012-12-03 | Add min_width and min_height options to the Upload class | Andrey Andreev | 1 | -0/+52 | |
(manually implementing outdated PR #636) | |||||
2012-12-03 | [ci skip] Cleaned some spaces | Andrey Andreev | 1 | -1/+0 | |
2012-11-07 | Added function_usable() to common functions | Andrey Andreev | 1 | -3/+3 | |
It is now used to check whether dangerous functions like eval() and exec() are available. It appears that the Suhosin extension (which is becoming popular) terminates script execution instead of returning e.g. FALSE when it has a function blacklisted. function_exists() checks are insufficient and our only option is to check the ini settings here. Filed an issue here: https://github.com/stefanesser/suhosin/issues/18 ... hopefully we'll be able to deal with this in a more elegant way in the future. (this commit supersedes PR #1809) | |||||
2012-11-01 | [ci skip] DocBlocks for Upload and Xmlrpc libraries | Andrey Andreev | 1 | -31/+203 | |
Partially fixes issue #1295 |