[+] BO : You can now have UTF-8 URL Rewriting

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11207 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2011-12-14 15:00:47 +00:00
parent 91c95d7146
commit dc29921f7e
5 changed files with 46 additions and 41 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ class ValidateCore
*/
public static function isLinkRewrite($link)
{
return (boolean)preg_match('/^[_a-zA-Z0-9-]+$/', $link);
return preg_match("/^[a-zA-Z0-9\s\-\pL]+$/u", $link);
}
/**