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

This commit is contained in:
vChabot committed 2011-12-14 15:00:47 +00:00
1 parent 47c5656dd6
commit ac852e90d7
5 files changed
+46 -41

No files matched your search

+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);
}
/**