summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2019-05-10Merge pull request #5744 from sharadrsoni/patch-1Andrey Andreev1-1/+1
Adding support for proper CRLF
2019-01-08[ci skip] Close #5482Andrey Andreev1-1/+1
2018-04-24Fix test_like_set_side() unit test (dataProvider wasn't working)Andrey Andreev1-2/+2
2018-04-14Merge pull request #5464 from ytetsuro/fix/#5462/like-before-bugAndrey Andreev1-0/+23
Fixed issue #5462 Query Builder LIKE BEFORE doesnt work
2017-12-27Merge pull request #5367 from carusogabriel/clean-elsesAndrey Andreev1-4/+2
Clean elses
2017-12-20Merge pull request #5354 from carusogabriel/refactoring-testsAndrey Andreev23-76/+75
Refactoring tests Conflicts resolved: tests/codeigniter/core/Utf8_test.php tests/codeigniter/database/query_builder/group_test.php tests/codeigniter/libraries/Form_validation_test.php
2017-11-10Fix #5331Andrey Andreev1-0/+9
2017-10-12Merge pull request #5289 from zploskey/cleanup_form_validation_testsAndrey Andreev1-19/+21
Clean up form validation tests
2017-09-29Add testcase and changelog entry for #5278Andrey Andreev1-2/+3
2017-06-28#5164 fix for stock librariesAndrey Andreev1-1/+1
2017-06-19[ci skip] Fix a bug in FV valid_email()Andrey Andreev1-1/+1
2017-06-15Merge pull request #5155 from tianhe1986/develop_count_ignore_limitAndrey Andreev1-0/+10
Fix CI_DB_query_builder::count_all_results() returning wrong count with LIMIT/OFFSET
2017-03-06Fix #5044; add unit tests for img() HTML helperAndrey Andreev2-5/+19
2017-01-19Fix byte-safety issues & actually test for themAndrey Andreev2-8/+18
2017-01-17[ci skip] Merge pull request #4986 from ka7/feature/spellingAndrey Andreev1-1/+1
Spelling fixes in comment blocks and docs
2017-01-10Add a testcase and changelog entry for #4975Andrey Andreev1-2/+4
2017-01-04Fix an XSS vulnerabilityAndrey Andreev1-0/+5
2016-12-08Merge pull request #4932 from rhynodesigns/patch-1Andrey Andreev1-2/+2
[ci skip] Fix a comment typo in unit tests
2016-11-23Fix #4917Andrey Andreev1-0/+8
2016-09-27Fix entity_decode() issueAndrey Andreev1-0/+6
2016-08-22Skip mcrypt-related testcases on PHP 7.1Andrey Andreev2-2/+14
ext/mcrypt is deprecated and the test cases in question trigger E_DEPRECATED messages as a result.
2016-08-10Add changelog entry and a test case for #4758Andrey Andreev1-0/+3
2016-08-10Use getMockBuilder() in PHPUnit instead of the deprecated getMock()Andrey Andreev8-17/+17
2016-07-28Remove dead code written for PHP 5.2Andrey Andreev5-231/+4
2016-07-25Merge pull request #4725 from tianhe1986/develop_url_encode_case_insensitiveAndrey Andreev1-0/+12
Fix remove_invisible_characters() for URL-encoded characters in upper case
2016-07-19Fix #4679Andrey Andreev1-0/+6
2016-05-25Fix #4639Andrey Andreev1-2/+13
Really fix #4633
2016-05-20Merge pull request #4638 from kasimtan/phpdoc_fixesAndrey Andreev5-5/+0
[ci skip] Fixed PHPDoc parameter name and type discrepancies
2016-05-17Fix #4633Andrey Andreev1-1/+1
2016-04-28Fix #4605Andrey Andreev1-0/+2
2016-03-12Fix #4516Andrey Andreev1-0/+10
2016-03-07Fix #4475Andrey Andreev1-2/+4
2016-02-11Skip CI_Log tests on PHP 5.2Andrey Andreev1-1/+10
We still run those (with failures enabled) and that test breaks them
2016-02-11Fix #4449Andrey Andreev1-2/+25
2016-02-09[ci skip] WhitespaceAndrey Andreev1-1/+1
2016-02-09Add CI_Log test casesAndrey Andreev1-0/+64
2016-02-05Fix another regression caused by 805eddaefd9503b5dbbd924bd6da66e29c4768f3Andrey Andreev1-0/+20
Also added a unit test for #4431
2016-01-30Fix #4415 and add unit tests for https://bugs.php.net/bug.php?id=51192Andrey Andreev1-0/+7
2016-01-11Alter a valid URL testAndrey Andreev1-1/+1
2015-11-09Merge pull request #4225 from zhanghongyi/loader-testAndrey Andreev1-4/+25
Improve Loader test cases for libraries
2015-10-31Prevent Host header injectionsAndrey Andreev1-30/+17
2015-10-31Harden xss_clean()Andrey Andreev1-15/+20
2015-10-30Fix #3201Andrey Andreev1-0/+5
2015-10-05Some more intrusive XSS cleaningAndrey Andreev1-2/+7
2015-10-02More XSS stuffAndrey Andreev1-1/+6
2015-09-28Merge pull request #4125 from jim-parry/fix/lang_testAndrey Andreev1-5/+17
Improve CI_Lang tests
2015-09-21More XSS stuffAndrey Andreev1-0/+16
2015-09-17Don't allow open-ended tags to pass through xss_clean()Andrey Andreev1-0/+1
This was a regression caused by the previous commit
2015-09-17Refactor 'evil attributes' sanitization logicAndrey Andreev1-23/+34
Turned out pretty much impossible to do remove 'evil attributes' with just one pattern - it either breaks something else, hits pcre.backtrack_limit or causes PHP to segfault. No benchmarks made, but there shouldn't be any performance regressions since we're now trying to strip attributes only after it is determined that they are inside a tag; up until now this was done seprately for _sanitize_naughty_html() and _remove_evil_attributes().
2015-09-14Another addition to tag detection patterns in xss_clean()Andrey Andreev1-0/+5