XSS 취약점 해결
This commit is contained in:
@ -18,7 +18,7 @@ if ($view == "w")
|
|||||||
else if ($view == "c")
|
else if ($view == "c")
|
||||||
$sql_common .= " and a.wr_id <> a.wr_parent ";
|
$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) {
|
if ($mb_id) {
|
||||||
$sql_common .= " and a.mb_id = '{$mb_id}' ";
|
$sql_common .= " and a.mb_id = '{$mb_id}' ";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user