Skip to content

fix: reject path traversal in resolve_note_path#17

Merged
stiermid merged 1 commit into
masterfrom
fix-path-traversal
May 14, 2026
Merged

fix: reject path traversal in resolve_note_path#17
stiermid merged 1 commit into
masterfrom
fix-path-traversal

Conversation

@stiermid
Copy link
Copy Markdown
Owner

Validate that resolved note paths stay within notes_dir, preventing ../ in title or directory from escaping the notes directory.

Validate that resolved note paths stay within notes_dir,
preventing ../  in title or directory from escaping the
notes directory.
@stiermid stiermid merged commit cce361f into master May 14, 2026
@stiermid stiermid deleted the fix-path-traversal branch May 14, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant