// Fix #PSCFV-4017

This commit is contained in:
rGaillard
2012-09-13 13:09:46 +00:00
parent e09fe0b8ac
commit 4ad69c9d9c
+2
View File
@@ -973,6 +973,8 @@ class ToolsCore
$str = mb_strtolower($str, 'utf-8');
$str = trim($str);
if (!function_exists('mb_strtolower'))
$str = Tools::replaceAccentedChars($str);
// Remove all non-whitelist chars.
$str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]-\pL]/u', '', $str);