diff --git a/adm/shop_admin/itemqaform.php b/adm/shop_admin/itemqaform.php
index d0607b74a..d9046f227 100644
--- a/adm/shop_admin/itemqaform.php
+++ b/adm/shop_admin/itemqaform.php
@@ -64,11 +64,11 @@ $qstr .= ($qstr ? '&' : '').'sca='.$sca;
|
- |
+ |
|
- |
+ |
diff --git a/adm/shop_admin/itemuseform.php b/adm/shop_admin/itemuseform.php
index 7a57776df..cdc5299a8 100644
--- a/adm/shop_admin/itemuseform.php
+++ b/adm/shop_admin/itemuseform.php
@@ -75,7 +75,7 @@ $qstr .= ($qstr ? '&' : '').'sca='.$sca;
| 내용 |
- |
+ |
|
@@ -84,7 +84,7 @@ $qstr .= ($qstr ? '&' : '').'sca='.$sca;
| 답변 내용 |
- |
+ |
| 확인 |
diff --git a/lib/shop.lib.php b/lib/shop.lib.php
index d55f86ce4..521b202b5 100644
--- a/lib/shop.lib.php
+++ b/lib/shop.lib.php
@@ -629,6 +629,10 @@ function it_img_upload($srcfile, $filename, $dir)
if($size[2] < 1 || $size[2] > 3)
return '';
+ //php파일도 getimagesize 에서 Image Type Flag 를 속일수 있다
+ if (!preg_match('/\.(gif|jpe?g|png)$/i', $filename))
+ return '';
+
if(!is_dir($dir)) {
@mkdir($dir, G5_DIR_PERMISSION);
@chmod($dir, G5_DIR_PERMISSION);
diff --git a/shop/itemqaformupdate.php b/shop/itemqaformupdate.php
index 73e6a8ef1..e4dd35de8 100644
--- a/shop/itemqaformupdate.php
+++ b/shop/itemqaformupdate.php
@@ -8,6 +8,7 @@ if (!$is_member) {
$iq_id = (int) trim($_REQUEST['iq_id']);
$iq_subject = trim($_POST['iq_subject']);
$iq_question = trim($_POST['iq_question']);
+$iq_question = preg_replace('##is', '', $iq_question);
$iq_answer = trim($_POST['iq_answer']);
$hash = trim($_REQUEST['hash']);
$get_editor_img_mode = $config['cf_editor'] ? false : true;
diff --git a/shop/itemuseformupdate.php b/shop/itemuseformupdate.php
index 7a3ca10d1..e2c870624 100644
--- a/shop/itemuseformupdate.php
+++ b/shop/itemuseformupdate.php
@@ -8,6 +8,7 @@ if (!$is_member) {
$it_id = trim($_REQUEST['it_id']);
$is_subject = trim($_POST['is_subject']);
$is_content = trim($_POST['is_content']);
+$is_content = preg_replace('##is', '', $is_content);
$is_name = trim($_POST['is_name']);
$is_password = trim($_POST['is_password']);
$is_score = (int)$_POST['is_score'] > 5 ? 0 : (int)$_POST['is_score'];