Repository navigation
fix: www·루트 슬래시 차이로 인한 URL 중복 저장 방지 (#333) - #334
Merged
Merged
Conversation
📊 코드 커버리지 리포트
|
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
관련 이슈
Closes #333
Refs #324
PR 설명
naver.com,naver.com/,www.naver.com,www.naver.com/을 같은 링크로 인식하고 신규 DB 저장값을https://naver.com으로 통일합니다. 중복 조회와 생성에 같은 기준을 적용하며, 기존 DB의www·루트 슬래시 표기도 함께 비교해 재저장을 차단합니다.메타정보 수집에는 입력한 호스트를 사용합니다.
m.·blog.등 다른 서브도메인과 명시적 HTTP/HTTPS, 포트·경로·쿼리·fragment는 구분하며 일반 경로의 끝 슬래시는 유지합니다. 이미 중복 저장된 데이터의 병합·삭제나 스키마 변경은 없습니다. CHANGELOG의Unreleased / Fixed에 반영했습니다.검증
Java 17에서
build jacocoTestCoverageVerification통과(테스트 584건, Checkstyle 및 커버리지 게이트 포함). H2 통합 테스트로 네 표기의 16가지 저장·입력 조합, 정규화된 DB 저장값, 회원·삭제 링크 제외와 기존 중복 데이터의 일관된 조회를 확인했습니다. 운영 PostgreSQL 검증은 별도입니다.병합 검토
최종 head
5ff4473에서 CI·배포 스크립트 검사·로컬 번들 빌드가 모두 통과했습니다. 요청자의 명시적인 관리자 우회 승인에 따라 팀원 승인 1건 요건을 이번 병합에 한해 우회하고 rebase merge합니다. 저장소 규칙·기존 데이터·릴리즈 태그는 변경하지 않습니다.