From e7c89675b622b22a6066eebe83a689ddce954d6e Mon Sep 17 00:00:00 2001 From: thisgun Date: Tue, 2 Jun 2026 07:55:39 +0000 Subject: [PATCH] =?UTF-8?q?=ED=9A=8C=EC=9B=90=EA=B4=80=EB=A6=AC/=EB=B9=84?= =?UTF-8?q?=EB=94=94=EC=98=A4=20=ED=95=84=ED=84=B0=20null=20=EC=9D=B8?= =?UTF-8?q?=EC=9E=90=20=EB=B3=B4=EC=A0=95=20(PHP=208.1=20=ED=98=B8?= =?UTF-8?q?=ED=99=98)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 내장함수에 null 이 전달되어 PHP 8.1+ 에서 경고가 발생하던 것을 isset 삼항 / 문자열 캐스팅으로 보정. - adm/member_form.php: number_format(mb_point), substr(mb_id) 2곳, substr(mp_register_day) — null/미정의 시 0 또는 빈 문자열 처리 - plugin/htmlpurifier/extend.video.php: strstr 인자 (string) 캐스팅 표시·동작 변화 없음. PHP 5.2~8.3 호환 유지(?? 미사용). Co-Authored-By: Claude Opus 4.8 (1M context) --- adm/member_form.php | 8 ++++---- plugin/htmlpurifier/extend.video.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/adm/member_form.php b/adm/member_form.php index 28287bd74..3a4ae292f 100644 --- a/adm/member_form.php +++ b/adm/member_form.php @@ -275,7 +275,7 @@ add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js 포인트 - 점 + 점 @@ -338,7 +338,7 @@ add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js 넓이 ' . $config['cf_member_icon_width'] . '픽셀 높이 ' . $config['cf_member_icon_height'] . '픽셀로 해주세요.') ?> 넓이 ' . $config['cf_member_img_width'] . '픽셀 높이 ' . $config['cf_member_img_height'] . '픽셀로 해주세요.') ?> ( ) - + diff --git a/plugin/htmlpurifier/extend.video.php b/plugin/htmlpurifier/extend.video.php index e81a0c2e4..d85e9e160 100644 --- a/plugin/htmlpurifier/extend.video.php +++ b/plugin/htmlpurifier/extend.video.php @@ -21,7 +21,7 @@ if( !class_exists('HTMLPurifier_Filter_Iframevideo') ){ */ public function preFilter($html, $config, $context) { - if (strstr($html, ']*>(.*?)?\/iframe>/i', array($this, 'trust_url_match'), $html); $html = preg_replace_callback('/]*>(.*?)?\/iframe>/i', array($this, 'trust_url_match'), $html); $html = preg_replace_callback('/]*>(.*?)?\/iframe>/i', array($this, 'trust_url_match'), $html);