summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core
AgeCommit message (Collapse)AuthorFilesLines
2015-03-18Polish some recent changes in test casesAndrey Andreev2-16/+14
2015-03-17Updated fetch_from_array unit testHeesung Ahn1-0/+9
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-10Fixed indentationHeesung Ahn1-66/+65
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-10Update Security Unit testHeesung Ahn1-18/+18
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-10Update Security Unit testHeesung Ahn1-3/+91
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-05adding more img tags Heesung Ahn1-2/+14
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-03-02test_strip_omage_tagsHeesung Ahn1-0/+19
Signed-off-by:Heesung Ahn <ahn.heesung@gmail.com>
2015-02-17Fix #3572: CI_Security::_remove_evil_attributes()Andrey Andreev1-0/+12
2015-02-15[ci skip] Fix a PHP7 BC break in a test that wouldn't even runAndrey Andreev1-1/+1
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-21Make libraries matching controller names loadableAndrey Andreev1-8/+8
2015-01-12Fix quoted_printable_encode() testAndrey Andreev1-1/+5
A false positive is triggered when imap_8bit() exists, as it seems to have slightly different output.
2015-01-12Added support for running unit tests on PHP 5.2Dan Bernardic1-11/+12
Signed-off-by: Dan Bernardic <dan.bernardic@gmail.com>
2015-01-11Added a unit test for #3464Dan Bernardic1-1/+6
Signed-off-by: Dan Bernardic <dan.bernardic@gmail.com>
2014-12-16Fix #3419Andrey Andreev1-4/+9
2014-12-15Remove minifier testAndrey Andreev1-10/+0
2014-12-05Fix a filter_uri() testAndrey Andreev1-1/+2
2014-12-05Further changes related to issue #47, PR #3323Andrey Andreev1-17/+3
- Removed a test that was created specifically for the 'convert programmatic characters to entities' feature. - Changed filter_uri() to accept by reference and to not return anything as its only purpose now is to trigger a show_error() call. - Added changelog messages and updated the upgrade instructions.
2014-11-11Fixed testsRazican1-1/+1
Signed-off-by: Razican <admin@razican.com>
2014-10-22[ci skip] Update 2 links to relate to bcit-ci/Andrey Andreev2-2/+2
2014-10-10Fix Config_test::test_base_url()Andrey Andreev1-3/+8
2014-07-07Add a backport (compat) for quoted_printable_encode()Andrey Andreev1-0/+115
2014-07-07Fix a few typos and add a backport (compat) for hex2bin()Andrey Andreev1-6/+38
2014-05-23Fix #3057Andrey Andreev1-0/+6
2014-05-09Add hash_equals() to ext/hash compat layerAndrey Andreev1-3/+29
Introduced in PHP 5.6 Beta 1 (unfortunately, still undocumented). RFC: https://wiki.php.net/rfc/timing_attack (Yes, I am aware that the RFC talks about hash_compare(), the function was later renamed in the implementation.)
2014-04-01Discard the unwanted changesvlakoff1-1/+7
2014-04-01Add test for "base_url" determination on server rootvlakoff1-2/+10
2014-03-31Remove test that has become unfitvlakoff1-7/+1
2014-03-18More xss_clean() improvementsAndrey Andreev1-1/+1
Issue described in https://github.com/EllisLab/CodeIgniter/issues/2667#issuecomment-37980030 + a false positive
2014-03-18xss_clean() improvementAndrey Andreev1-0/+6
Fixes this: https://github.com/EllisLab/CodeIgniter/issues/2667#issuecomment-37819186
2014-03-06[ci skip] Fix a test skip messageAndrey Andreev1-1/+1
2014-02-21Revert some changes ... our testing sucksAndrey Andreev1-27/+0
2014-02-21More CI_Lang testsAndrey Andreev1-4/+56
2014-02-20CI_Utf8-related changesAndrey Andreev2-2/+70
- Give priority to mb_convert_encoding() over iconv() in clean_string() (partially fixes #261) - Add more proper unit tests
2014-02-20Remove a few empty 'mock' classesAndrey Andreev1-1/+1
2014-02-19Add compatibility layer for array_column(), array_replace(), ↵Andrey Andreev1-0/+429
array_replace_recursive()
2014-02-18Don't load password hashing compat for HHVMAndrey Andreev1-0/+6
2014-02-18Add an ext/hash compatibility layer (just hash_pbkdf2(), for now)Andrey Andreev1-0/+51
2014-02-15Rename CI_Utf8::_is_ascii() to is_ascii() and make it publicAndrey Andreev1-2/+2
No reason for it to be protected.
2014-02-13Introducing compatibility layersAndrey Andreev2-0/+212
- Limited support for mbstring (mb_strlen(), mb_strpos(), mb_substr() only) via iconv. Falls back to regular strlen(), strpos(), substr() if iconv is not available. - Password hashing, dependant on CRYPT_BLOWFISH (2y version, available since PHP 5.3.7) availability.
2014-02-11Some other small writing consistency fixesdarwinel2-5/+5
As described in the Style guide. Found after some grep’ing.
2014-01-17Merge branch 'feature/uri_routing_overhaul' into 'develop'Andrey Andreev1-18/+10
2014-01-17Unit tests: Full code coverage of Benchmark classAndrey Andreev1-1/+25
2014-01-17Add CI_Model unit testAndrey Andreev1-0/+37
2014-01-16Add a unit test for CI_Utf8::_is_ascii()Andrey Andreev1-4/+9
2014-01-16Add some unit tests for CI_InputAndrey Andreev1-3/+44
2014-01-16URI Routing overhaulAndrey Andreev1-18/+10
- Allow multiple levels of controller directories (supersedes PRs #390, #2439) - Add support for per-directory 'defaul_controller' and '404_override' (resolves issue #2611; supersedes PR #939) - Fixed a bug where default_controller was called instead of triggering 404 if the current route is inside a directory - Removed a few calls from CI_Router to CI_URI that made a necessity for otherwise internal CI_URI methods to be public: - Removed CI_URI::_fetch_uri_string() and moved its logic into CI_URI::__construct() - Removed CI_URI::_remove_url_suffix, CI_URI::_explode_segments() and moved their logic into CI_URI::_set_uri_string() - Removed CI_URI::_reindex_segments() altogether ( doesn't need further manipulation, while is public anyway and can be properly (and more effectively) replaced on the spot)
2014-01-15CI_URI changes related to the 'permitted_uri_chars' settingAndrey Andreev1-9/+6
- Initialize and cache the value in the class constructor instead of searching for it every time - Removed the preg_quote() call from _filter_uri() to allow more fine-tuning from configuration - Renamed _filter_uri() to filter_uri() - it was public anyway and using it cannot break anything Related: issue #2799
2014-01-07Implement Loader method chainingAndrey Andreev1-28/+28
Requested in issue #2165 Supersedes PR #2319
2014-01-06Remove redudant Loader tests for library() & driver() with no parametersAndrey Andreev1-6/+0