commit | 14a0ac63a9dfb72e4681c37f7727cd48882152bd | [log] [tgz] |
---|---|---|
author | Pascal Kriete <pascal.kriete@ellislab.com> | Tue Apr 05 14:55:56 2011 -0400 |
committer | Pascal Kriete <pascal.kriete@ellislab.com> | Tue Apr 05 14:55:56 2011 -0400 |
tree | aa7062f10e105984eb9df84e5b98bb1371bbf564 | |
parent | 0ff50269e6bac31870a4d69bf4bc0bb895999f1f [diff] [blame] |
Moving security to core.
diff --git a/system/core/Utf8.php b/system/core/Utf8.php index 5d5a7ef..2a27d1f 100644 --- a/system/core/Utf8.php +++ b/system/core/Utf8.php
@@ -107,7 +107,7 @@ */ function safe_ascii_for_xml($str) { - return preg_replace('/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]+/S', '', $str); + return remove_invisible_characters($str, FALSE); } // --------------------------------------------------------------------