[-] Project : #PSCFV-2594 - Allow accent in URL

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15705 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte committed 2012-05-28 09:13:26 +00:00
1 parent 4171dd3230
commit 0133338989
1 file changed
-1
-1
View File
@@ -936,7 +936,6 @@ class ToolsCore
$str = mb_strtolower($str, 'utf-8'); $str = mb_strtolower($str, 'utf-8');
$str = trim($str); $str = trim($str);
$str = Tools::replaceAccentedChars($str);
// Remove all non-whitelist chars. // Remove all non-whitelist chars.
$str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]-\pL]/u', '', $str); $str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]-\pL]/u', '', $str);