From b0eff944e105addcf50fb25a7f704f72ce927a44 Mon Sep 17 00:00:00 2001 From: vChabot Date: Thu, 22 Dec 2011 09:20:55 +0000 Subject: [PATCH] // url rewriting disallow spaces git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11563 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Validate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Validate.php b/classes/Validate.php index 487b46459..eb12317c3 100644 --- a/classes/Validate.php +++ b/classes/Validate.php @@ -311,7 +311,7 @@ class ValidateCore */ 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); } /**