summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter
AgeCommit message (Collapse)AuthorFilesLines
2016-10-20FV: throw BadMethodCallException when set_rules() called withoutAndrey Andreev1-0/+6
2016-08-22Merge branch '3.1-stable' into developAndrey Andreev2-2/+14
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-10Merge branch '3.1-stable' into developAndrey Andreev11-242/+24
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 Andreev4-225/+4
2016-07-26Merge branch '3.1-stable' into developAndrey Andreev3-3/+22
Conflicts resolved: .travis.yml system/core/CodeIgniter.php system/database/drivers/oci8/oci8_forge.php system/database/drivers/pdo/subdrivers/pdo_oci_forge.php system/helpers/path_helper.php system/libraries/Email.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/contributing/index.rst user_guide_src/source/general/requirements.rst user_guide_src/source/general/styleguide.rst user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrade_310.rst user_guide_src/source/installation/upgrading.rst
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-22Replace url_encoded invisible characters case-insensitively.tianhe19861-0/+12
Signed-off-by: tianhe1986 <w1s2j3229@163.com>
2016-07-19Fix #4679Andrey Andreev1-0/+6
2016-05-25Fix #4639Andrey Andreev1-2/+13
Really fix #4633
2016-05-17Fix #4633Andrey Andreev1-1/+1
2016-04-28Fix #4605Andrey Andreev1-0/+2
2016-03-12Merge branch '3.0-stable' into developAndrey Andreev1-0/+10
2016-03-12Fix #4516Andrey Andreev1-0/+10
2016-03-11Merge branch '3.0-stable' into developAndrey Andreev3-5/+39
Resolved conflicts: system/core/CodeIgniter.php user_guide_src/source/changelog.rst user_guide_src/source/conf.py user_guide_src/source/installation/downloads.rst user_guide_src/source/installation/upgrading.rst
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-09[ci skip] WhitespaceAndrey Andreev1-1/+1
2016-02-09Merge branch '3.0-stable' into developAndrey Andreev3-0/+91
Fixed conflicts: user_guide_src/source/overview/at_a_glance.rst
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-11Polish changes from PR #4269Andrey Andreev1-12/+20
2016-01-11Merge branch 'develop' of github.com:sebastienadam/CodeIgniter into ↵Andrey Andreev1-1/+5
feature/html_meta
2016-01-11Merge branch '3.0-stable' into developAndrey Andreev1-1/+1
2016-01-11Alter a valid URL testAndrey Andreev1-1/+1
2015-12-14Adjust test case for changes from 85bc9fc53e4c3e46b2f4e1b1eac7e2828d4869e6Andrey Andreev1-2/+0
2015-12-01Modified as asked after pull request:Sébastien Adam1-1/+5
* comment of meta fuction adapted * alignments in meta fuction adapted * using '===' comparator in meta function * changing back the example of the meta function help * changing back the default value of the doctype function Also changing test unit to reflect the modification of the meta function (original tests not modified).
2015-11-09Merge pull request #4225 from zhanghongyi/loader-testAndrey Andreev1-4/+25
Improve Loader test cases for libraries
2015-11-09Merge pull request #4225 from zhanghongyi/loader-testAndrey Andreev1-4/+25
Improve Loader test cases for libraries
2015-11-09modify and add test cases for Loader class to test more exceptionsHongyi Zhang1-4/+25
Signed-off-by: Hongyi Zhang <hongyi73.zhang@gmail.com>
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
2015-09-14Move _remove_evil_attributes() callAndrey Andreev1-0/+14
2015-09-11Harden xss_clean() moreAndrey Andreev1-2/+7
This time eliminate false positives for the 'naughty html' logic.
2015-09-11Improve on previous commitAndrey Andreev1-0/+5
2015-09-11Replace the latest XSS patchesAndrey Andreev1-1/+6
This one fixes yet another issue, is cleaner and faster.
2015-09-10Last commit didn't adjust a RE indexAndrey Andreev1-0/+5