From 87adbf0f8dd1776583e38e9c73aeb292c622e86b Mon Sep 17 00:00:00 2001 From: chicpro Date: Wed, 17 Dec 2014 10:14:29 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B7=B8=EB=88=84=EB=B3=B4=EB=93=9C=205.0.25?= =?UTF-8?q?=20=EB=B3=B4=EC=95=88=ED=8C=A8=EC=B9=98=20=EB=B0=8F=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=EB=82=B4=EC=97=AD=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_copy_update.php | 5 +++-- bbs/move_update.php | 2 +- common.php | 1 - head.sub.php | 4 ++-- lib/register.lib.php | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/adm/board_copy_update.php b/adm/board_copy_update.php index 45d856d51..a349e7d7a 100644 --- a/adm/board_copy_update.php +++ b/adm/board_copy_update.php @@ -58,6 +58,7 @@ $sql = " insert into {$g5['board_table']} bo_use_rss_view = '{$board[bo_use_rss_view]}', bo_use_good = '{$board[bo_use_good]}', bo_use_nogood = '{$board[bo_use_nogood]}', + bo_use_name = '{$board[bo_use_name]}', bo_use_signature = '{$board[bo_use_signature]}', bo_use_ip_view = '{$board[bo_use_ip_view]}', bo_use_list_view = '{$board['bo_use_list_view']}', @@ -179,10 +180,10 @@ if (count($file_copy)) { set bo_table = '$target_table', wr_id = '{$file_copy[$i]['wr_id']}', bf_no = '{$file_copy[$i]['bf_no']}', - bf_source = '{$file_copy[$i]['bf_source']}', + bf_source = '".addslashes($file_copy[$i]['bf_source'])."', bf_file = '{$file_copy[$i]['bf_file']}', bf_download = '{$file_copy[$i]['bf_download']}', - bf_content = '{$file_copy[$i]['bf_content']}', + bf_content = '".addslashes($file_copy[$i]['bf_content'])."', bf_filesize = '{$file_copy[$i]['bf_filesize']}', bf_width = '{$file_copy[$i]['bf_width']}', bf_height = '{$file_copy[$i]['bf_height']}', diff --git a/bbs/move_update.php b/bbs/move_update.php index 11fff763d..41b7fd4a3 100644 --- a/bbs/move_update.php +++ b/bbs/move_update.php @@ -121,7 +121,7 @@ while ($row = sql_fetch_array($result)) set bo_table = '$move_bo_table', wr_id = '$insert_id', bf_no = '{$row3['bf_no']}', - bf_source = '{$row3['bf_source']}', + bf_source = '".addslashes($row3['bf_source'])."', bf_file = '{$row3['bf_file']}', bf_download = '{$row3['bf_download']}', bf_content = '".addslashes($row3['bf_content'])."', diff --git a/common.php b/common.php index b9118e474..8a69c4539 100644 --- a/common.php +++ b/common.php @@ -266,7 +266,6 @@ $_SESSION['ss_is_mobile'] = $is_mobile; define('G5_IS_MOBILE', $is_mobile); define('G5_DEVICE_BUTTON_DISPLAY', $set_device); if (G5_IS_MOBILE) { - include_once(G5_LIB_PATH.'/mobile.lib.php'); // 모바일 전용 라이브러리 $g5['mobile_path'] = G5_PATH.'/'.$g5['mobile_dir']; } //============================================================================== diff --git a/head.sub.php b/head.sub.php index 027150bf6..587d438c8 100644 --- a/head.sub.php +++ b/head.sub.php @@ -17,8 +17,8 @@ else { // 게시판 제목에 ' 포함되면 오류 발생 $g5['lo_location'] = addslashes($g5['title']); if (!$g5['lo_location']) - $g5['lo_location'] = $_SERVER['REQUEST_URI']; -$g5['lo_url'] = $_SERVER['REQUEST_URI']; + $g5['lo_location'] = addslashes($_SERVER['REQUEST_URI']); +$g5['lo_url'] = addslashes($_SERVER['REQUEST_URI']); if (strstr($g5['lo_url'], '/'.G5_ADMIN_DIR.'/') || $is_admin == 'super') $g5['lo_url'] = ''; /* diff --git a/lib/register.lib.php b/lib/register.lib.php index 7381efc76..303612bea 100644 --- a/lib/register.lib.php +++ b/lib/register.lib.php @@ -115,7 +115,7 @@ function prohibit_mb_email($reg_mb_email) list($id, $domain) = explode("@", $reg_mb_email); $email_domains = explode("\n", trim($config['cf_prohibit_email'])); for ($i=0; $i