[-] Project : #PSCFV-2594 - Allow accent in URL
This commit is contained in:
@@ -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