summaryrefslogtreecommitdiffstats
path: root/system/core/Security.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-24 17:46:29 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-24 17:46:29 +0100
commit25ca23533e3efe59754145c91037fae171fb4862 (patch)
tree34fec2b73d066e24cb5c659ff8eab7c1fa2af701 /system/core/Security.php
parentd98cbb8bddda2f56dc1dc585a7f3a01fa9ed33c9 (diff)
CI_Security: Add 'form' and 'xlink:href' to evil attributes
Diffstat (limited to 'system/core/Security.php')
-rw-r--r--system/core/Security.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Security.php b/system/core/Security.php
index 32ecbbad3..40717c26d 100644
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -662,7 +662,7 @@ class CI_Security {
protected function _remove_evil_attributes($str, $is_image)
{
// Formaction, style, and xmlns
- $evil_attributes = array('style', 'xmlns', 'formaction');
+ $evil_attributes = array('style', 'xmlns', 'formaction', 'form', 'xlink:href');
if ($is_image === TRUE)
{