주소 jibeon 값 화이트리스트에 'J' 추가

카카오 우편번호 서비스의 oncomplete 콜백이 userSelectedType
으로 'R'(도로명) 또는 'J'(지번)을 반환하는데, 서버 측 정규식이
'N|R' 만 허용해 지번 선택 시 빈 문자열로 저장되던 문제를 수정.
N 은 print_address() 의 도로명 표기 분기를 위한 레거시 값으로
호환을 위해 유지.

적용 위치: 회원가입(bbs/register_form_update.php), PC/모바일
주문(shop/, mobile/shop/ orderformupdate.php), 관리자 미완료
주문(adm/shop_admin/inorderformupdate.php) 의 7곳.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
thisgunandClaude Opus 4.7 committed 2026-05-26 11:46:36 +00:00
1 parent ee8b57eb13
commit 669cce7011
4 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -571,14 +571,14 @@ $od_zip2 = substr($od_zip, 3);
$od_addr1 = addslashes(clean_xss_tags(stripslashes($od_addr1)));
$od_addr2 = addslashes(clean_xss_tags(stripslashes($od_addr2)));
$od_addr3 = addslashes(clean_xss_tags(stripslashes($od_addr3)));
$od_addr_jibeon = preg_match("/^(N|R)$/", $od_addr_jibeon) ? $od_addr_jibeon : '';
$od_addr_jibeon = preg_match("/^(N|R|J)$/", $od_addr_jibeon) ? $od_addr_jibeon : '';
$od_b_name = addslashes(clean_xss_tags(stripslashes($od_b_name)));
$od_b_tel = addslashes(clean_xss_tags(stripslashes($od_b_tel)));
$od_b_hp = addslashes(clean_xss_tags(stripslashes($od_b_hp)));
$od_b_addr1 = addslashes(clean_xss_tags(stripslashes($od_b_addr1)));
$od_b_addr2 = addslashes(clean_xss_tags(stripslashes($od_b_addr2)));
$od_b_addr3 = addslashes(clean_xss_tags(stripslashes($od_b_addr3)));
$od_b_addr_jibeon = preg_match("/^(N|R)$/", $od_b_addr_jibeon) ? $od_b_addr_jibeon : '';
$od_b_addr_jibeon = preg_match("/^(N|R|J)$/", $od_b_addr_jibeon) ? $od_b_addr_jibeon : '';
$od_memo = addslashes(clean_xss_tags(stripslashes($od_memo), 1, 1, 0, 0));
$od_deposit_name = addslashes(clean_xss_tags(stripslashes($od_deposit_name)));
$od_tax_flag = $default['de_tax_flag_use'];