// url rewriting disallow spaces
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11563 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
372367913b
commit
b0eff944e1
1 file changed
+1
-1
@@ -311,7 +311,7 @@ class ValidateCore
|
|||||||
*/
|
*/
|
||||||
public static function isLinkRewrite($link)
|
public static function isLinkRewrite($link)
|
||||||
{
|
{
|
||||||
return preg_match("/^[a-zA-Z0-9\s\-\pL]+$/u", $link);
|
return preg_match("/^[a-zA-Z0-9\-\pL]+$/u", $link);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user