From 44e8d768a0a0007a32342639448efce26670a9ee Mon Sep 17 00:00:00 2001 From: MUsoftware Date: Sat, 16 May 2026 19:39:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=96=B4=EB=93=9C=EB=AF=BC=EC=9D=98=20?= =?UTF-8?q?=EC=95=8C=EB=A6=BC=20=EC=A0=84=EC=86=A1=20=ED=8E=98=EC=9D=B4?= =?UTF-8?q?=EC=A7=80=EC=97=90=EC=84=9C=20=ED=95=9C=EA=B5=AD=20=EC=A0=84?= =?UTF-8?q?=ED=99=94=EB=B2=88=ED=98=B8=20=ED=8C=A8=ED=84=B4=EB=8F=84=20?= =?UTF-8?q?=ED=97=88=EC=9A=A9=ED=95=98=EB=8F=84=EB=A1=9D=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/pages/notification/send_history_create.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/pyconkr-admin/src/components/pages/notification/send_history_create.tsx b/apps/pyconkr-admin/src/components/pages/notification/send_history_create.tsx index d5e7581..a1b3741 100644 --- a/apps/pyconkr-admin/src/components/pages/notification/send_history_create.tsx +++ b/apps/pyconkr-admin/src/components/pages/notification/send_history_create.tsx @@ -90,10 +90,11 @@ const NotAppliableToAllRecipientsFieldList = [ const URL_REGEX = /^[a-z0-9-]+(\.[a-z0-9-]+)+([/?].*)?$/; const EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; const INTERNATIONAL_PHONE_REGEX = /^\+\d{1,4}[-\s]?\d+(?:[-\s]?\d+)*$/; +const KOREAN_PHONE_REGEX = /^01[016-9][-\s]?\d{3,4}[-\s]?\d{4}$/; const isValidEmail = (value: string) => EMAIL_REGEX.test(value); const isValidUrl = (value: string) => URL_REGEX.test(value); -const isValidPhone = (value: string) => URL_REGEX.test(value) || INTERNATIONAL_PHONE_REGEX.test(value); +const isValidPhone = (value: string) => KOREAN_PHONE_REGEX.test(value) || INTERNATIONAL_PHONE_REGEX.test(value); const validateRecipientForApp = (app: NotificationChannelApp, value: string): string | null => { const trimmed = value.trim();