diff --git a/modules/document/document.item.php b/modules/document/document.item.php index ca11f4694..61e3edaf2 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -251,6 +251,9 @@ $_SESSION['accessible'][$this->document_srl] = true; $content = $this->get('content'); + + // CSRF등의 보안 취약점 문제를 막기위한 코드로 인하여 새창 띄우기 코드가 무효화 된것을 원상태로 변경 + $content = str_replace('_onclick="window.open(this.href);return false;"','onclick="window.open(this.href);return false;"',$content); // rewrite모듈을 사용하면 링크 재정의 $oContext = &Context::getInstance(); @@ -258,9 +261,6 @@ $content = preg_replace('/^"^\'^=])(http|https|ftp|mms):\/\/([^ ^<^"^\']*)!is','$1$2://$3',' '.$content); - // 이 게시글을... 팝업메뉴를 출력할 경우 if($add_popup_menu) { $content = sprintf(