@RequestParam("image") MultipartFile image,
HttpServletRequest request,Model model) {
List<String> tagList = tagService.stringToTagList(tags);
if(!tagService.isPublicTags(tagList))
return "/weaver/join";
<BUG>if(!Pattern.matches("^[a-z]{1}[a-z0-9_]{4,14}$", id) || password.length()<4 ||
!Pattern.matches("[\\w\\~\\-\\.]+@[\\w\\~\\-]+(\\.[\\w\\~\\-]+)+",email)){</BUG>
model.addAttribute("say", "잘못 입력하셨습니다!.");
model.addAttribute("url", "/join");
return "/alert";

@RequestParam("image") MultipartFile image,
HttpServletRequest request,Model model) {
List<String> tagList = tagService.stringToTagList(tags);
if(!tagService.isPublicTags(tagList))
return "/weaver/join";
if(!Pattern.matches("^[a-z]{1}[a-z0-9_]{4,14}$", id) || password.length()<4 ||
say.length()>50 || studentID.length()>30 ||
!Pattern.matches("[\\w\\~\\-\\.]+@[\\w\\~\\-]+(\\.[\\w\\~\\-]+)+",email)){
model.addAttribute("say", "잘못 입력하셨습니다!.");
model.addAttribute("url", "/join");
return "/alert";
