5.3.2.2 버전 수정

This commit is contained in:
thisgun committed 2018-12-17 18:50:37 +09:00
commit f560db8aa5
8 files changed
+45 -9

No files matched your search

+1 -1
View File
@@ -436,7 +436,7 @@ function admin_check_xss_params($params){
if( is_array($value) ){
admin_check_xss_params($params);
} else if ( preg_match('/<\s?[^\>]*\/?\s?>/i', $value) && preg_match('/script.*?\/script/ius', $value) ){
} else if ( preg_match('/<\s?[^\>]*\/?\s?>/i', $value) && (preg_match('/script.*?\/script/ius', $value) || preg_match('/onload=.*/ius', $value)) ){
alert('요청 쿼리에 잘못된 스크립트문장이 있습니다.\\nXSS 공격일수도 있습니다.');
die();
}