XSS 취약점, 새 우편번호, 기타 오류 수정
This commit is contained in:
1 parent
2ccc407397
commit
a52858fc6d
25 files changed
+73
-60
No files matched your search
+2
-1
@@ -30,7 +30,8 @@ include_once(G5_PATH.'/head.sub.php');
|
||||
|
||||
$msg2 = str_replace("\\n", "<br>", $msg);
|
||||
|
||||
if (!$url) $url = $_SERVER['HTTP_REFERER'];
|
||||
$url = clean_xss_tags($url);
|
||||
if (!$url) $url = clean_xss_tags($_SERVER['HTTP_REFERER']);
|
||||
|
||||
// url 체크
|
||||
check_url_host($url);
|
||||
|
||||
Reference in new issue
Block a user