Skip to content

3.24.1: Export as OnlyWorlds folder never writes outside the export folder - #48

Merged
tmoosting merged 3 commits into
mainfrom
fix/export-paths
Nov 28, 2026
Merged

tmoosting merged 3 commits into
mainfrom
fix/export-paths

Conversation

@tmoosting

Copy link
Copy Markdown
Member

The export names each element's file from the element's id and did not check it. A note whose id had been edited to hold path characters could make an export to a picked folder write a .json file outside that folder. Such a note is now left out and named in the report, and every file an export writes is checked to stay inside the export folder.

1172 tests; the new export test fails without the change. In a real vault on Windows: an export with such notes, folder import and the earlier data-safety walks. Not tried: mobile, macOS, Linux.

🤖 Generated with Claude Code

tmoosting and others added 3 commits November 28, 2026 13:16
…no write leaves the folder

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tmoosting
tmoosting merged commit 5dce600 into main Nov 28, 2026
1 check passed
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