Skip to content

Commit

Permalink
mb_tel 필드를 이용한 xss 취약점 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chicpro committed Jan 14, 2015
1 parent 82a55c9 commit 1cd8d59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bbs/register_form_update.php
Expand Up @@ -122,6 +122,7 @@
$mb_name = clean_xss_tags($mb_name);
$mb_email = get_email_address($mb_email);
$mb_homepage = clean_xss_tags($mb_homepage);
$mb_tel = clean_xss_tags($mb_tel);
$mb_zip1 = preg_replace('/[^0-9]/', '', $mb_zip1);
$mb_zip2 = preg_replace('/[^0-9]/', '', $mb_zip2);
$mb_addr1 = clean_xss_tags($mb_addr1);
Expand Down

0 comments on commit 1cd8d59

Please sign in to comment.