// Fix #PSCFV-4017

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17338 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2012-09-13 13:09:46 +00:00
parent 09cb96dab6
commit 714bb25193
+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);