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;