From 2a5e9ad7fb5944445361d54bb1e50a76956e1a8a Mon Sep 17 00:00:00 2001 From: chicpro Date: Thu, 12 Jun 2014 10:20:06 +0900 Subject: [PATCH] =?UTF-8?q?XSS=20=EA=B4=80=EB=A0=A8=20=EB=8C=80=EC=9D=91?= =?UTF-8?q?=20get=5Ftext=20=ED=95=A8=EC=88=98=20=EC=B2=98=EB=A6=AC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/shop_admin/orderlist.php | 4 ++-- adm/shop_admin/orderprintresult.php | 20 ++++++++++---------- mobile/shop/orderformupdate.php | 1 + mobile/shop/orderinquiryview.php | 22 +++++++++++----------- mobile/shop/personalpayresult.php | 4 ++-- shop/orderform.php | 2 +- shop/orderformupdate.php | 1 + shop/orderinquiryview.php | 22 +++++++++++----------- shop/personalpayresult.php | 4 ++-- 9 files changed, 41 insertions(+), 39 deletions(-) diff --git a/adm/shop_admin/orderlist.php b/adm/shop_admin/orderlist.php index 8a7bcceaa..37840b106 100644 --- a/adm/shop_admin/orderlist.php +++ b/adm/shop_admin/orderlist.php @@ -346,8 +346,8 @@ if(!sql_query(" select mb_id from {$g5['g5_shop_order_delete_table']} limit 1 ", - - + + diff --git a/adm/shop_admin/orderprintresult.php b/adm/shop_admin/orderprintresult.php index 1cdbb9983..77814bfa6 100644 --- a/adm/shop_admin/orderprintresult.php +++ b/adm/shop_admin/orderprintresult.php @@ -257,33 +257,33 @@ if (mysql_num_rows($result) == 0) if ($row1['od_name'] == $row1['od_b_name'] && $row1['od_addr'] == $row1['od_b_addr'] && $row1['od_tel'] == $row1['od_b_tel'] && $row1['od_hp'] == $row1['od_b_hp'] && $row1['od_hp'] != " ") $samesamesame = 1; else $samesamesame = ''; - $od_memo = ($row1['od_memo']) ? stripslashes($row1['od_memo']) : ''; - $od_shop_memo = ($row1['od_shop_memo']) ? stripslashes($row1['od_shop_memo']) : ''; + $od_memo = ($row1['od_memo']) ? get_text(stripslashes($row1['od_memo'])) : ''; + $od_shop_memo = ($row1['od_shop_memo']) ? get_text(stripslashes($row1['od_shop_memo'])) : ''; ?>

주문번호

-

보내는 사람 :

+

보내는 사람 :

주소
-
+
휴대폰
-
+
전화번호
-
+

보내는 사람과 받는 사람이 동일합니다.

-

받는 사람 :

+

받는 사람 :

주소
-
+
휴대폰
-
+
전화번호
-
+
diff --git a/mobile/shop/orderformupdate.php b/mobile/shop/orderformupdate.php index e63a8ebc6..ea1d740b6 100644 --- a/mobile/shop/orderformupdate.php +++ b/mobile/shop/orderformupdate.php @@ -410,6 +410,7 @@ if($default['de_tax_flag_use']) { } $od_pg = $default['de_pg_service']; +$od_email = get_email_address($od_email); // 주문서에 입력 $sql = " insert {$g5['g5_shop_order_table']} diff --git a/mobile/shop/orderinquiryview.php b/mobile/shop/orderinquiryview.php index 86e8bd2bd..828d6ef18 100644 --- a/mobile/shop/orderinquiryview.php +++ b/mobile/shop/orderinquiryview.php @@ -292,11 +292,11 @@ if($od['od_pg'] == 'lg') { ?> 입금자명 - + 입금계좌 - + 이 름 - + 전화번호 - + 핸드폰 - + 주 소 - + E-mail - + @@ -468,19 +468,19 @@ if($od['od_pg'] == 'lg') { 이 름 - + 전화번호 - + 핸드폰 - + 주 소 - + 입금자명 - + 입금계좌 - + 입금자명 - + 입금계좌 - + 이 름 - + 전화번호 - + 핸드폰 - + 주 소 - + E-mail - + @@ -484,19 +484,19 @@ if($od['od_pg'] == 'lg') { 이 름 - + 전화번호 - + 핸드폰 - + 주 소 - + 입금자명 - + 입금계좌 - +