fix: 라운드34 — 테스트가 닿지 않던 파일 감사, 결함 32건 수정 (보안 2건 포함) - #53
Merged
Merged
Conversation
선정 기준: 파일에 선언된 메서드 이름이 tests/에 나오지 않는 비율 + 로드맵 언급 여부. 결함마다 빨강 테스트를 먼저 만들고 수정했으며, 소스만 되돌리면 새 테스트가 빨강이 되는 것을 확인했다. 보안 - 붙여넣은 HTML의 네트워크 공유 그림(file://host/share)을 열어 SMB 연결 → NTLM 노출(21초 연결 실측). AllowLocalFileImages와 무관하게 UNC는 읽지 않는다. - javascript:/vbscript:/data: 링크를 읽을 때 버린다(글자는 남김). 내보낸 HTML·클립보드로 새어 나가던 것. 1순위 (ContextMenu·Tables·Toolbar.PageFile·Formatting·Images·FindReplace) - 우클릭이 표 테두리의 블록 캐럿을 풀지 않음 - 메뉴로 표 삭제/인라인 표→블록 후 캐럿이 문서 밖 문단에 남아 입력이 사라짐 - 인라인 그림 삭제/블록 변환 후 캐럿이 문단 끝을 넘음 - 호스트가 용지를 바꾸면 툴바가 쪽 경계를 켜고 줌을 '맞춤'으로 바꿈 - InsertDivider·ReplaceAll·ReplaceNext가 읽기 전용 문서를 고침 - 아무것도 바꾸지 않는 명령의 빈 되돌리기 단계(여백·정렬·줄 간격·내어쓰기·목록 해제·원본 크기·ReplaceAll) 2순위 (Rendering·Pagination·HitTesting·DragBlock·Clipboard) - 디코드 못 한 그림 뒤 블록이 위로 겹쳐 그려짐 - 셀 안 문단·빈 문단에 인용 막대/문단 배경 없음 - 래스터 PDF 폴백이 RGBA 픽셀에서 빨강/파랑을 바꿈 - 인라인 표가 있는 열로 ↓ 진입 실패(IsCellOf가 인라인 표를 못 봄) - AllowTables/AllowImages 꺼져도 Ctrl+끌기 복사 - 선택 위 그림/엑셀 셀 붙여넣기가 선택을 대체하지 않음 - 다른 앱용 HTML 복사에서 문단 위/아래 여백 누락 3순위 (Input·RTF·HTML) - 선택한 인라인 그림 Backspace/Delete/Ctrl+X 후 캐럿이 문단 끝을 넘음 사용자 결정 (2026-09-23) - 여백 메뉴 위쪽에 "자동(한 줄)" - Tab = 그 표의 마지막 셀에서 행 추가 - 블록 삽입 = 캐럿 자리(문단 중간이면 분할) - 툴바 인용 버튼(새 아이콘 슬롯 RichEditorIcon.Quote, Unshipped) Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This was referenced Sep 23, 2026
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.
요약
테스트가 거의 닿지 않던 소스 파일 16개를 세 우선순위로 나눠 감사했습니다. 결함마다 실패하는 테스트로 먼저 재현한 뒤 고쳤고, 소스만 되돌리면 새 테스트가 다시 실패하는 것도 확인했습니다.
tests/에 나오지 않는 비율, 그리고 로드맵에 그 파일이 언급된 적이 있는지보안
<img src="file://host/share/x.png">처럼 네트워크 공유(UNC)를 가리키는 그림을 열려고 했습니다. Windows에서는 이때 SMB 연결이 시작되어 사용자의 NTLM 인증 정보가 노출될 수 있습니다. 도달할 수 없는 테스트 주소로 21초 동안 연결을 시도하는 것을 실측했습니다. 이제AllowLocalFileImages설정과 관계없이 네트워크 공유는 읽지 않습니다.javascript:,vbscript:,data:링크를 읽을 때 버립니다. 글자는 남기고 링크만 없앱니다. 이전에는 이 링크가 문서에 남았다가 내보낸 HTML과 다른 앱용 클립보드로 그대로 나갔습니다.주요 결함
InsertDivider,ReplaceAll,ReplaceNext가 읽기 전용 문서를 고쳤습니다.결정 사항 (2026-09-23)
RichEditorIcon.Quote,PublicAPI.Unshipped.txt에 기록)검증
*AuditTests(단위 12개 파일)와RenderingAuditTests(렌더)🤖 Generated with Claude Code