summaryrefslogtreecommitdiff
path: root/inc/db.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/db.inc.php')
-rw-r--r--inc/db.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/db.inc.php b/inc/db.inc.php
index e023c3a..bc18e16 100644
--- a/inc/db.inc.php
+++ b/inc/db.inc.php
@@ -2,7 +2,7 @@
$SESSION_DIR="/srv/postedit/sessions";
$key = $_GET["key"];
-if (preg_match('/^[a-z0-9]{1,4}$/', $key)) {
+if (preg_match('/^[a-f0-9]{1,4}$/', $key)) {
$json = file_get_contents($SESSION_DIR."/".$key."/data.json");
}
$db = json_decode($json);