Browse Source

修正后台XSS存在的安全问题

tags/6.0.0
tianya 3 years ago
parent
commit
2495dfcd3b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/dede/action_search.php

+ 1
- 1
src/dede/action_search.php View File

@@ -14,7 +14,7 @@ require_once(dirname(__FILE__)."/actionsearch_class.php");
//增加权限检查
if(empty($dopost)) $dopost = "";
$keyword=empty($keyword)? "" : $keyword;
$keyword=empty($keyword)? "" : RemoveXss($keyword);
$actsearch = new ActionSearch($keyword);
$asresult = $actsearch->Search();
include DedeInclude('templets/action_search.htm');

Loading…
Cancel
Save