summaryrefslogtreecommitdiffstats
path: root/system/core/Security.php
diff options
context:
space:
mode:
authorwarpcode <git@warpcode.eu>2014-12-16 12:29:53 +0100
committerwarpcode <git@warpcode.eu>2014-12-16 12:29:53 +0100
commitbb177984d7207ecf0bf0e14a389e54d59e9ea0b8 (patch)
tree1b2e4262588e2d0f891bd8c0f6627d12929eccc8 /system/core/Security.php
parenteceebe3bedfd635c41ce2d849bcb32766d1e6cb9 (diff)
Fix Issue #3417
Diffstat (limited to 'system/core/Security.php')
-rwxr-xr-xsystem/core/Security.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Security.php b/system/core/Security.php
index 8adc35676..2ac61a540 100755
--- a/system/core/Security.php
+++ b/system/core/Security.php
@@ -673,7 +673,7 @@ class CI_Security {
// Decode numeric & UTF16 two byte entities
$str = html_entity_decode(
- preg_replace('/(&#(?:x0*[0-9a-f]{2,5}(?![0-9a-f;]))|(?:0*\d{2,4}(?![0-9;])))/iS', '$1;', $str),
+ preg_replace('/(&#(?:x0*[0-9a-f]{2,5}(?![0-9a-f;])|(?:0*\d{2,4}(?![0-9;]))))/iS', '$1;', $str),
$flag,
$charset
);
@@ -995,4 +995,4 @@ class CI_Security {
}
/* End of file Security.php */
-/* Location: ./system/core/Security.php */ \ No newline at end of file
+/* Location: ./system/core/Security.php */