안전하지 않는 사이트 리다이렉션 취약점 수정

This commit is contained in:
chicpro
2015-05-18 17:29:01 +09:00
parent d701f840db
commit 0835753299
5 changed files with 34 additions and 6 deletions

View File

@ -32,6 +32,9 @@ $msg2 = str_replace("\\n", "<br>", $msg);
if (!$url) $url = $_SERVER['HTTP_REFERER'];
// url 체크
check_url_host($url);
if($error) {
$header2 = "다음 항목에 오류가 있습니다.";
} else {