Skip to content
Permalink
Browse files Browse the repository at this point in the history
fix:fix xss #113
Signed-off-by: snow <>
  • Loading branch information
snow committed Nov 17, 2021
1 parent 32d38b4 commit 3f89610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/globals.php
Expand Up @@ -20,7 +20,7 @@
$sta_cache = $CACHE->readCache('sta');
$user_cache = $CACHE->readCache('user');
$action = isset($_GET['action']) ? addslashes($_GET['action']) : '';
$admin_path_code = isset($_GET['s']) ? addslashes($_GET['s']) : '';
$admin_path_code = isset($_GET['s']) ? addslashes(htmlClean($_GET['s'])) : '';

if ($action == 'login') {
if (defined('ADMIN_PATH_CODE') && $admin_path_code !== ADMIN_PATH_CODE) {
Expand Down

0 comments on commit 3f89610

Please sign in to comment.