diff options
author | brian978 <dbrian89@yahoo.com> | 2012-12-10 14:58:49 +0100 |
---|---|---|
committer | brian978 <dbrian89@yahoo.com> | 2012-12-10 14:58:49 +0100 |
commit | 6caeaada6e4a1acc88c230e47f36ebcf8f0182ac (patch) | |
tree | a24fd4d86933b569fcd53cfe2599cf8a1cfd6f6b /system/core/Security.php | |
parent | ea52015e1f3ae610137fd6acf78dd51c93f69a2b (diff) |
Removed boundary from regexp
Diffstat (limited to 'system/core/Security.php')
-rw-r--r-- | system/core/Security.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Security.php b/system/core/Security.php index 635f9ff31..c179c46ff 100644 --- a/system/core/Security.php +++ b/system/core/Security.php @@ -329,7 +329,7 @@ class CI_Security { * these are the ones that will pose security problems. */ $str = preg_replace_callback("/[a-z]+=([\'\"]).*?\\1/si", array($this, '_convert_attribute'), $str); - $str = preg_replace_callback('/<\w+.*?=.*?>\b/si', array($this, '_decode_entity'), $str); + $str = preg_replace_callback('/<\w+.*?=.*?>/si', array($this, '_decode_entity'), $str); // Remove Invisible Characters Again! $str = remove_invisible_characters($str); |