영카트 CSRF 취약점 ( 17-00465 ) 수정
This commit is contained in:
1 parent
d7a3d245be
commit
1dc7b19552
1 file changed
+2
@@ -45,6 +45,8 @@ if($_REQUEST['P_STATUS'] != '00') {
|
||||
// 결과를 배열로 변환
|
||||
parse_str($return, $ret);
|
||||
$PAY = array_map('trim', $ret);
|
||||
$PAY = array_map('strip_tags', $PAY);
|
||||
$PAY = array_map('get_search_string', $PAY);
|
||||
|
||||
if($PAY['P_STATUS'] != '00')
|
||||
alert('오류 : '.iconv_utf8($PAY['P_RMESG1']).' 코드 : '.$PAY['P_STATUS'], $page_return_url);
|
||||
|
||||
Reference in new issue
Block a user