안전하지 않는 사이트 리다이렉션 취약점 수정
This commit is contained in:
1 parent
d701f840db
commit
0835753299
5 files changed
+34
-6
No files matched your search
@@ -65,6 +65,9 @@ if ($auto_login) {
|
||||
}
|
||||
|
||||
if ($url) {
|
||||
// url 체크
|
||||
check_url_host($url);
|
||||
|
||||
$link = urldecode($url);
|
||||
// 2003-06-14 추가 (다른 변수들을 넘겨주기 위함)
|
||||
if (preg_match("/\?/", $link))
|
||||
|
||||
Reference in new issue
Block a user