XSS 취약점 수정

This commit is contained in:
thisgun committed 2018-10-30 09:42:48 +09:00
1 parent c82c937fbb
commit a45241f4bc
9 files changed
+31 -12

No files matched your search

+2 -2
View File
@@ -23,8 +23,8 @@ for ($i=0; $i<$count; $i++)
$code = $_POST['code'][$i];
$me_name = $_POST['me_name'][$i];
$me_link = $_POST['me_link'][$i];
$me_link = preg_match('/^javascript/', $_POST['me_link'][$i]) ? G5_URL : strip_tags($_POST['me_link'][$i]);
if(!$code || !$me_name || !$me_link)
continue;