From 694e039b039a1d318bdf70aa13861a7095101f21 Mon Sep 17 00:00:00 2001 From: kagla Date: Fri, 4 Mar 2022 10:47:51 +0900 Subject: [PATCH] =?UTF-8?q?1:1=EB=AC=B8=EC=9D=98=20=EB=93=B1=EC=97=90?= =?UTF-8?q?=EC=84=9C=20url=20=EC=98=A4=EB=A5=98=EA=B0=80=20=EB=B0=9C?= =?UTF-8?q?=EC=83=9D=ED=95=98=EC=97=AC=20=EC=82=AC=EC=9A=A9=ED=95=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EA=B2=83=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=B6=94=EC=A0=95=EB=90=98=EB=8A=94=20=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=A3=BC=EC=84=9D=20=EC=B2=98=EB=A6=AC=20(=EC=9E=91=EC=9D=80?= =?UTF-8?q?=EB=B3=84=EB=8B=98,220304)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index 4ab8e9014..b8315e2ca 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -3358,10 +3358,10 @@ function check_url_host($url, $msg='', $return_url=G5_URL, $is_redirect=false) } } - if(stripos($url, 'http:') !== false) { - if(!isset($p['scheme']) || !$p['scheme'] || !isset($p['host']) || !$p['host']) - alert('url 정보가 올바르지 않습니다.', $return_url); - } + // if(stripos($url, 'http:') !== false) { + // if(!isset($p['scheme']) || !$p['scheme'] || !isset($p['host']) || !$p['host']) + // alert('url 정보가 올바르지 않습니다.', $return_url); + // } //php 5.6.29 이하 버전에서는 parse_url 버그가 존재함 //php 7.0.1 ~ 7.0.5 버전에서는 parse_url 버그가 존재함