Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2018-06-21 13:25:53 +0300
committerMichal Čihař <michal@cihar.com>2018-06-21 14:31:00 +0300
commit7662d02939fb3cf6f0d9ec32ac664401dcfe7490 (patch)
tree476acdb43165110b1cc412b2f70e9df54ba6202d /index.php
parentc27b9c12f2c268e0139378780abb436486aee919 (diff)
Avoid looking for ? when checking for file to be included
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index cc492e77ee..0ac91de52f 100644
--- a/index.php
+++ b/index.php
@@ -56,7 +56,7 @@ if (! empty($_REQUEST['target'])
&& is_string($_REQUEST['target'])
&& ! preg_match('/^index/', $_REQUEST['target'])
&& ! in_array($_REQUEST['target'], $target_blacklist)
- && Core::checkPageValidity($_REQUEST['target'])
+ && Core::checkPageValidity($_REQUEST['target'], [], true)
) {
include $_REQUEST['target'];
exit;