diff options
author | Pascal Kriete <pascal.kriete@ellislab.com> | 2011-04-05 20:55:56 +0200 |
---|---|---|
committer | Pascal Kriete <pascal.kriete@ellislab.com> | 2011-04-05 20:55:56 +0200 |
commit | 14a0ac63a9dfb72e4681c37f7727cd48882152bd (patch) | |
tree | aa7062f10e105984eb9df84e5b98bb1371bbf564 /system/core/Utf8.php | |
parent | 0ff50269e6bac31870a4d69bf4bc0bb895999f1f (diff) |
Moving security to core.
Diffstat (limited to 'system/core/Utf8.php')
-rw-r--r-- | system/core/Utf8.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Utf8.php b/system/core/Utf8.php index 5d5a7ef72..2a27d1f35 100644 --- a/system/core/Utf8.php +++ b/system/core/Utf8.php @@ -107,7 +107,7 @@ class CI_Utf8 { */ function safe_ascii_for_xml($str) { - return preg_replace('/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]+/S', '', $str); + return remove_invisible_characters($str, FALSE); } // -------------------------------------------------------------------- |