#167 Security Report : Cross-Site Scripting 오류 해결 (P0cas님,220311)
This commit is contained in:
@ -16,8 +16,7 @@ if ($kind == 'recv')
|
|||||||
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