XSS 취약점 수정

This commit is contained in:
chicpro
2015-06-18 17:33:21 +09:00
parent 7224f97781
commit 4d9e6be394
2 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@ $sql = " select a.mb_id, b.mb_nick, b.mb_name, b.mb_email, b.mb_homepage, b.mb_o
order by a.lo_datetime desc ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
$row['lo_url'] = get_text($row['lo_url']);
$list[$i] = $row;
if ($row['mb_id']) {