$kind 변수를 이용한 XSS 취약점 수정 (Pocas님,211214)
This commit is contained in:
@ -15,8 +15,10 @@ if ($kind == 'recv')
|
|||||||
$unkind = 'send';
|
$unkind = 'send';
|
||||||
else if ($kind == 'send')
|
else if ($kind == 'send')
|
||||||
$unkind = 'recv';
|
$unkind = 'recv';
|
||||||
else
|
else {
|
||||||
|
$kind = clean_xss_tags(trim($kind));
|
||||||
alert(''.$kind .'값을 넘겨주세요.');
|
alert(''.$kind .'값을 넘겨주세요.');
|
||||||
|
}
|
||||||
|
|
||||||
if ($page < 1) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)
|
if ($page < 1) { $page = 1; } // 페이지가 없으면 첫 페이지 (1 페이지)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user