From dfbe31b5a3af786bceeb557d69e4cbafe131e571 Mon Sep 17 00:00:00 2001 From: vChabot Date: Thu, 22 Dec 2011 09:20:55 +0000 Subject: [PATCH] // url rewriting disallow spaces --- 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); } /**