영카트 Reflected XSS 취약점(17-560) 수정
This commit is contained in:
@ -4,6 +4,9 @@ include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
$fr_date = preg_replace('/[^0-9]/i', '', $fr_date);
|
||||
$to_date = preg_replace('/[^0-9]/i', '', $to_date);
|
||||
|
||||
$fr_date = preg_replace("/([0-9]{4})([0-9]{2})([0-9]{2})/", "\\1-\\2-\\3", $fr_date);
|
||||
$to_date = preg_replace("/([0-9]{4})([0-9]{2})([0-9]{2})/", "\\1-\\2-\\3", $to_date);
|
||||
|
||||
|
||||
@ -4,6 +4,9 @@ include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
$fr_month = preg_replace('/[^0-9]/i', '', $fr_month);
|
||||
$to_month = preg_replace('/[^0-9]/i', '', $to_month);
|
||||
|
||||
$fr_month = preg_replace("/([0-9]{4})([0-9]{2})/", "\\1-\\2", $fr_month);
|
||||
$to_month = preg_replace("/([0-9]{4})([0-9]{2})/", "\\1-\\2", $to_month);
|
||||
|
||||
|
||||
@ -4,6 +4,8 @@ include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
$date = preg_replace('/[^0-9]/i', '', $date);
|
||||
|
||||
$date = preg_replace("/([0-9]{4})([0-9]{2})([0-9]{2})/", "\\1-\\2-\\3", $date);
|
||||
|
||||
$g5['title'] = "$date 일 매출현황";
|
||||
|
||||
@ -4,6 +4,9 @@ include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "r");
|
||||
|
||||
$fr_year = preg_replace('/[^0-9]/i', '', $fr_year);
|
||||
$to_year = preg_replace('/[^0-9]/i', '', $to_year);
|
||||
|
||||
$g5['title'] = $fr_year.' ~ '.$to_year.' 연간 매출현황';
|
||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user