From 039f7f037dd8db69b6edee00e73b85f2fdfd8276 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Wed, 30 Mar 2022 14:11:28 +0800 Subject: [PATCH] * Fix bug of check iframe. --- module/common/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common/model.php b/module/common/model.php index 4b08b4148d..fb2200d17a 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -2257,7 +2257,7 @@ EOD; $module = $this->app->getModuleName(); $method = $this->app->getMethodName(); - if($module == 'index' || $module == 'tutorial' || $module == 'install' || $module == 'upgrade' || ($module == 'user' && ($method == 'login' || $method == 'deny' || $method == 'logout')) || ($module == 'my' && $method == 'changepassword') || ($module == 'file' && $method == 'read') || ($module == 'file' && $method == 'download')) return; + if($module == 'index' || $module == 'tutorial' || $module == 'install' || $module == 'upgrade' || ($module == 'user' && ($method == 'login' || $method == 'deny' || $method == 'logout')) || ($module == 'my' && $method == 'changepassword') || ($module == 'file' && $method == 'read') || ($module == 'file' && $method == 'download') || ($module == 'file' && $method == 'uploadimages')) return; $url = helper::safe64Encode($_SERVER['REQUEST_URI']); $redirectUrl = helper::createLink('index', 'index', "open=$url");