summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorBot <bot@myigel.name>2017-01-21 19:47:44 +0100
committerIgor Scheller <igor.scheller@igorshp.de>2017-01-21 20:12:48 +0100
commit740026a9de6cba73c4e77aba78950d0a791b6b62 (patch)
tree187eb8fc8bccf731c095c00d6f8108ba0f4b8b06 /public
parent915ce28feeb9104bf7854ccbd80caebb5dce4aaa (diff)
Replaced [0-9] with \d
Diffstat (limited to 'public')
-rw-r--r--public/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php
index 92a71c6d..12d6f744 100644
--- a/public/index.php
+++ b/public/index.php
@@ -30,7 +30,7 @@ if (!isset($_REQUEST['p'])) {
if (
isset($_REQUEST['p'])
- && preg_match('/^[a-z0-9_]*$/i', $_REQUEST['p'])
+ && preg_match('/^\w*$/i', $_REQUEST['p'])
&& (
in_array($_REQUEST['p'], $free_pages)
|| (isset($privileges) && in_array($_REQUEST['p'], $privileges))