diff options
author | Andrey Andreev <narf@devilix.net> | 2015-02-17 14:57:47 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-02-17 14:57:47 +0100 |
commit | af8665d973e63ace812ab1d433ae8b8dce5922c4 (patch) | |
tree | 8917a5de00e54c53963b734aaf78872b55c2f4d3 /tests/mocks | |
parent | aadd8bdbf248293a854b4e0361bd09155c815acd (diff) |
Fix #3572: CI_Security::_remove_evil_attributes()
Diffstat (limited to 'tests/mocks')
-rw-r--r-- | tests/mocks/core/security.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/mocks/core/security.php b/tests/mocks/core/security.php index a21fc5cb3..6cff85860 100644 --- a/tests/mocks/core/security.php +++ b/tests/mocks/core/security.php @@ -16,6 +16,11 @@ class Mock_Core_Security extends CI_Security { return isset($this->{'_'.$property}) ? $this->{'_'.$property} : NULL; } + public function remove_evil_attributes($str, $is_image) + { + return $this->_remove_evil_attributes($str, $is_image); + } + // Override inaccessible protected method public function __call($method, $params) { |