From b4368f07744a466c23e305cffbe7961bcb12a3ab Mon Sep 17 00:00:00 2001 From: Edoardo Vacchi Date: Wed, 27 Nov 2013 11:55:31 +0100 Subject: [PATCH] Update core.static.php --- fp-includes/core/core.static.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fp-includes/core/core.static.php b/fp-includes/core/core.static.php index 4824963..8e2a97e 100755 --- a/fp-includes/core/core.static.php +++ b/fp-includes/core/core.static.php @@ -34,7 +34,7 @@ } function static_isvalid($id) { - return !preg_match('[^./\\\\]+', $id); + return !preg_match('/[^./\\\\]+/', $id); }