Skip to content

Commit

Permalink
!hotfix : 닉네임 유효성 검사 정규식 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
oosedus authored Nov 13, 2024
1 parent 69bf2a9 commit c312c5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private void validateUserInfo(String nickName) {
}

// 한글, 영어, 숫자, 공백만 허용
String nicknamePattern = "^[a-zA-Z0-9가-힣\\s]*$";
String nicknamePattern = "^[a-zA-Z0-9ㄱ-ㅎㅏ-ㅣ가-힣\s]*$";
if (!Pattern.matches(nicknamePattern, nickName)) {
throw new UserException(UserErrorStatus.INVALID_USER_NICKNAME);
}
Expand Down

0 comments on commit c312c5f

Please sign in to comment.