summaryrefslogtreecommitdiffstats
path: root/system/libraries
AgeCommit message (Collapse)AuthorFilesLines
2013-06-28Fix #2498Andrey Andreev1-1/+1
2013-06-25Merge pull request #2480 from florisluiten/developAndrey Andreev1-1/+1
Prevent email header injection
2013-06-24Removed empty line at EOFFloris Luiten (lenwweb.nl)1-1/+1
2013-06-11added newlines to end of email header when send_multipart === falseChris Ege1-1/+1
2013-06-07Prevent email header injectionflorisluiten1-2/+2
When a header is set, newline characters are stripped so one cannot inject his/her own email header(s). Since set_header is only used to set one header at a time, it should have no effect on any code relying on this function
2013-04-18Change boolean to bool.buhay1-1/+3
Added whitespace.
2013-04-17Correction for issue #2388. Updated _build_message() to return a boolean. ↵buhay1-4/+10
This prevents email from sending if there is an error trying to attach an attachment to the email.
2013-04-04Fix #2380 and deprecate CI_Router::fetch_*() methodsAndrey Andreev1-1/+1
2013-04-01Merge pull request #2303 from lracicot/developAndrey Andreev1-2/+2
Add unicode support in cart product name.
2013-04-01Merge pull request #2369 from vlakoff/develop-2Andrey Andreev3-4/+2
Some cleanup related to mt_rand()
2013-03-30Modified do_upload() to use UPLOAD_ERR constants.Darren Benney1-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-30Some cleanup related to mt_rand()vlakoff3-4/+2
- min and max values are 0 and mt_getrandmax() by default - remove useless mt_srand() seed calls
2013-03-21Added array notation for keys in Input librarynisheeth-barthwal1-0/+15
2013-03-13removing linebreakSam Doidge1-1/+1
2013-03-13adding thumb_marker to image_lib->clear()Sam Doidge1-2/+2
2013-03-12Fix #2320Andrey Andreev1-3/+3
2013-03-11reorder rules in product name regex by importanceLouis Racicot1-2/+2
2013-03-07check if uft8 is enabledLouis Racicot1-1/+1
2013-03-06Full unicode support for the product name.Louis Racicot1-2/+2
2013-03-06Github broke the file encoding. I repaired it.Louis Racicot1-1/+1
2013-03-06Update Cart.phpLouis Racicot1-1/+1
Regex were already case sensitive.
2013-03-05Add unicode support in cart product name for unicode 00C000 to 00E01F.Louis Racicot1-2/+2
2013-03-04Cache file driver: clean() now preserves .htaccess and index filesvlakoff1-1/+1
2013-03-04Merge pull request #2190 from danhunsaker/feature/exit-statusAndrey Andreev2-5/+3
Updated all CLI-valid cases of exit() to return a valid code
2013-03-04[ci skip] Fix #2289Andrey Andreev1-3/+2
2013-03-04Reverting changes to functions that have no business being used in CLI apps ↵Daniel Hunsaker2-6/+3
to begin with Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-03-04Oops, missed a few places where EXIT_SUCCESS was being used.Daniel Hunsaker1-2/+2
Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-03-04Updated in accordance with feedback from @narfbgDaniel Hunsaker2-2/+2
- Removed commented lists of constants from the three reference conventions, replacing each with the URLs at which more information can be found. - Renamed a few constants to more closely reflect CodeIgniter conventions. - Modified a couple of lines which were in violation of the CI Style Guide. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-03-04Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Daniel Hunsaker1-1/+1
feature/exit-status
2013-03-02Fix Session cookie driver storing untrimmed user agent string in the ↵Daniel Robbins1-1/+1
database causing set_userdata() calls to fail when $config['sess_match_useragent'] = TRUE Signed-off-by: Daniel Robbins <github@danieljrobbins.com>
2013-02-23Updated exit codes as constant valuesDaniel Hunsaker3-4/+4
Re-allocated exit status codes according to three references, which follow: BSD sysexits.h:http://www.gsp.com/cgi-bin/man.cgi?section=3&topic=sysexits GNU recomendations:http://www.gnu.org/software/libc/manual/html_node/Exit-Status.html Bash scripting:http://tldp.org/LDP/abs/html/exitcodes.html The GNU recommendations stem from and expand upon the standard C/C++ library (stdlibc) definitions, while also suggesting some best-practice conventions which happen to prevent exit status code collisions with bash, and probably other shells. The re-allocated codes are now mapped to constant values, set in *application/config/constants.php*, and used throughout the CodeIgniter core. They would additionally be used in *index.php*, but the constants file hasn't been loaded at that point, so the integer values are used instead, and a comment follows each such use with amplifying information on why that particular value was selected. Finally, the errors documentation has been updated accordingly. Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-02-22Merge branch 'develop' of github.com:EllisLab/CodeIgniter into ↵Daniel Hunsaker16-162/+223
feature/exit-status
2013-02-21Disable autoloader call from class_exists() occurences to improve performanceAndrey Andreev3-4/+4
Note: The Driver libary tests seem to depend on that, so one occurence in CI_Loader is left until we resolve that.
2013-02-19Issue #2086 Session_cookie's _update_db not guaranteed to updateDionysis Arvanitis1-0/+3
2013-02-19Merge pull request #2261 from nisheeth-barthwal/developAndrey Andreev1-2/+5
Fixed Issue #2239
2013-02-19Fixed the issue with bcc_batch_mode and subjectnisheeth-barthwal1-2/+5
2013-02-19Fix a code comment in Upload->_file_mime_type()vlakoff2-5/+5
Availability of dangerous functions is now tested using function_usable().
2013-02-18Removed the unused $force paramter in Email::_smtp_connect()nisheeth-barthwal1-29/+29
2013-02-18removed PR from the bug listnisheeth-barthwal1-1/+1
2013-02-18Fixed curly braces. Removed redundant method set_useragent()nisheeth-barthwal1-20/+11
2013-02-18Fixed tab-indentation. Made appropriate entries in changelognisheeth-barthwal1-283/+282
2013-02-17Added keep-alive connection to SMTP. Fixed socket read/write timeouts. Added ↵nisheeth-barthwal1-234/+290
PHP useragent
2013-02-15Fix some stuff from recent pull requestsAndrey Andreev1-2/+1
2013-02-15Various cosmetic fixesvlakoff4-5/+5
2013-02-14changes according to narfbg's requestTim1-2/+2
2013-02-13changes according to narfbg's requestTim1-3/+3
2013-02-13Added small feature to profiler: total execution time countTim1-2/+4
adds additional information to profiler like: DATABASE:  test   QUERIES: 3 (0.0016s)  (Hide)
2013-02-08Fix issue #2230Andrey Andreev1-3/+3
2013-02-08[ci skip] Remove unnecessary string casts in PaginationAndrey Andreev1-3/+2
2013-02-08Merge pull request #2199 from cryode/feature/paginationAndrey Andreev1-83/+116
Multiple pagination bug fixes & optimizations.