fix: Windows 경로 구분자 호환성 수정#1
Open
softdaddy-o wants to merge 1 commit into
Open
Conversation
validatePath()에서 '/' 대신 path.sep을 사용하여 Windows와 Unix 모두에서 정상 동작하도록 수정. Windows에서 resolve()는 백슬래시(\)를 반환하는데, 기존 코드는 슬래시(/)만 체크하여 모든 경로 검증이 실패했음. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
validatePath()에서 하드코딩된/대신path.sep을 사용하여 Windows/Unix 모두 지원Problem
path.resolve()는 백슬래시(\)를 반환/)만 체크하여 Windows에서 모든 경로가 "Access denied: path outside graph directory" 오류 발생Solution
Test plan
read_page,update_page등 정상 동작 확인🤖 Generated with Claude Code