[-] Project : #PSCFV-2594 - Allow accent in URL
This commit is contained in:
1 parent
37bdc25fdd
commit
5ca24a70f6
1 file changed
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user