From 8ecd8a10c057e808f3c74bf6f629369d3c01ed41 Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 8 Jun 2021 11:25:11 +0200 Subject: [PATCH] Remove unneeded escape --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 71ca4743..1c47f2e8 100644 --- a/index.php +++ b/index.php @@ -38,7 +38,7 @@ else $uri = str_replace(array('index.php/', '?'), '', $uri); define('URI', $uri); -if(preg_match("/^[A-Za-z0-9-_%\'+]+\.png$/i", $uri)) { +if(preg_match("/^[A-Za-z0-9-_%'+]+\.png$/i", $uri)) { $tmp = explode('.', $uri); $_REQUEST['name'] = urldecode($tmp[0]);