diff --git a/config/config.inc.php b/config/config.inc.php index c247f02c7..20e099f31 100644 --- a/config/config.inc.php +++ b/config/config.inc.php @@ -42,7 +42,7 @@ define('__ZBXE__', __XE__); * '2' means 'release candidate' status. * '3' means 'final' status. */ -define('__XE_VERSION__', '1.7.3.7'); +define('__XE_VERSION__', '1.7.3.8'); /** * @deprecated __ZBXE_VERSION__ will be removed. Use __XE_VERSION__ instead. diff --git a/modules/document/document.controller.php b/modules/document/document.controller.php index a4677133f..15771b9ff 100644 --- a/modules/document/document.controller.php +++ b/modules/document/document.controller.php @@ -200,7 +200,15 @@ class documentController extends document if(!$obj->commentStatus) $obj->commentStatus = 'DENY'; if($obj->commentStatus == 'DENY') $this->_checkCommentStatusForOldVersion($obj); if($obj->allow_trackback!='Y') $obj->allow_trackback = 'N'; - if($obj->homepage && !preg_match('/^[a-z]+:\/\//i',$obj->homepage)) $obj->homepage = 'http://'.$obj->homepage; + if($obj->homepage) + { + $obj->homepage = removeHackTag($obj->homepage); + if(!preg_match('/^[a-z]+:\/\//i',$obj->homepage)) + { + $obj->homepage = 'http://'.$obj->homepage; + } + } + if($obj->notify_message != 'Y') $obj->notify_message = 'N'; if(!$obj->email_address) $obj->email_address = ''; if(!$isRestore) $obj->ipaddress = $_SERVER['REMOTE_ADDR']; //board?�서 form key값으�?ipaddress�??�용?�면 ?�한 ip가 ?�록?? ?�터?�???��??�슴