summaryrefslogtreecommitdiffstats
path: root/tests/mocks
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-02-17 14:57:47 +0100
committerAndrey Andreev <narf@devilix.net>2015-02-17 14:57:47 +0100
commitaf8665d973e63ace812ab1d433ae8b8dce5922c4 (patch)
tree8917a5de00e54c53963b734aaf78872b55c2f4d3 /tests/mocks
parentaadd8bdbf248293a854b4e0361bd09155c815acd (diff)
Fix #3572: CI_Security::_remove_evil_attributes()
Diffstat (limited to 'tests/mocks')
-rw-r--r--tests/mocks/core/security.php5
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)
{