충돌수정
This commit is contained in:
@ -28,6 +28,7 @@ include_once(G5_PATH.'/head.sub.php');
|
||||
// 파일만 가능합니다.
|
||||
// 공백이 없어야 합니다.
|
||||
|
||||
$msg = isset($msg) ? strip_tags($msg) : '';
|
||||
$msg2 = str_replace("\\n", "<br>", $msg);
|
||||
|
||||
$url = clean_xss_tags($url);
|
||||
@ -36,7 +37,7 @@ if (!$url) $url = clean_xss_tags($_SERVER['HTTP_REFERER']);
|
||||
$url = preg_replace("/[\<\>\'\"\\\'\\\"\(\)]/", "", $url);
|
||||
|
||||
// url 체크
|
||||
check_url_host($url);
|
||||
check_url_host($url, $msg);
|
||||
|
||||
if($error) {
|
||||
$header2 = "다음 항목에 오류가 있습니다.";
|
||||
@ -46,7 +47,7 @@ if($error) {
|
||||
?>
|
||||
|
||||
<script>
|
||||
alert("<?php echo strip_tags($msg); ?>");
|
||||
alert("<?php echo $msg; ?>");
|
||||
//document.location.href = "<?php echo $url; ?>";
|
||||
<?php if ($url) { ?>
|
||||
document.location.replace("<?php echo str_replace('&', '&', $url); ?>");
|
||||
|
||||
@ -67,7 +67,7 @@ if ($auto_login) {
|
||||
|
||||
if ($url) {
|
||||
// url 체크
|
||||
check_url_host($url);
|
||||
check_url_host($url, '', G5_URL, true);
|
||||
|
||||
$link = urldecode($url);
|
||||
// 2003-06-14 추가 (다른 변수들을 넘겨주기 위함)
|
||||
|
||||
@ -17,7 +17,7 @@ include_once('./_head.sub.php');
|
||||
$url = clean_xss_tags($_GET['url']);
|
||||
|
||||
// url 체크
|
||||
check_url_host($url);
|
||||
check_url_host($url, '', G5_URL, true);
|
||||
|
||||
$url = get_text($url);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user