From 473326d2d9a5033f238c0b0f105cfe0ded2521fe Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 20 Mar 2013 14:33:14 +0900 Subject: [PATCH] =?UTF-8?q?get=5Feditor=5Fimage=20=ED=95=A8=EC=88=98=20?= =?UTF-8?q?=EC=A0=95=EA=B7=9C=EC=8B=9D=20=ED=8C=A8=ED=84=B4=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index 2ed73f8f3..9b7fdae8a 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -1763,7 +1763,7 @@ function get_editor_image($contents) return false; // $contents 중 img 태그 추출 - $pattern = "/]*src=[\'\"]?([^>\'\"]+".str_replace(".", "\.", $_SERVER['HTTP_HOST'])."[^>\'\"]+)[\'\"]?[^>]*>/"; + $pattern = "/]*src=[\'\"]?([^>\'\"]+[^>\'\"]+)[\'\"]?[^>]*>/"; preg_match_all($pattern, $contents, $matchs); return $matchs;