From ef01dc8da17c62f17790b9c08f087d803061961e Mon Sep 17 00:00:00 2001 From: gnuboard Date: Tue, 6 Aug 2013 10:01:25 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=EB=AC=BC=EB=82=B4=EC=9A=A9?= =?UTF-8?q?=EC=9D=98=20=ED=95=98=EC=9D=B4=ED=8D=BC=EB=A7=81=ED=81=AC?= =?UTF-8?q?=EC=97=90=20target=20=EC=97=90=EC=84=9C=20=5Fblank=20=EA=B0=80?= =?UTF-8?q?=EB=8A=A5=ED=95=98=EB=8F=84=EB=A1=9D=20=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/common.lib.php b/lib/common.lib.php index b9aa44fb4..925c346da 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -555,6 +555,7 @@ function html_purifier($html) $config->set('HTML.SafeObject', true); $config->set('HTML.SafeIframe', true); $config->set('URI.SafeIframeRegexp','%^(https?:)?//('.$safeiframe.')%'); + $config->set('Attr.AllowedFrameTargets', array('_blank')); $purifier = new HTMLPurifier($config); return $purifier->purify($html); }