XSS 취약점 해결
This commit is contained in:
1 parent
a0b352db23
commit
b598c94537
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ if ($view == "w")
|
||||
else if ($view == "c")
|
||||
$sql_common .= " and a.wr_id <> a.wr_parent ";
|
||||
|
||||
$mb_id = isset($_GET['mb_id']) ? $_GET['mb_id'] : "";
|
||||
$mb_id = isset($_GET['mb_id']) ? strip_tags($_GET['mb_id']) : "";
|
||||
if ($mb_id) {
|
||||
$sql_common .= " and a.mb_id = '{$mb_id}' ";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user