Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 5483 & 3483 #5504

Merged
merged 21 commits into from
Mar 26, 2021
Merged

Fix 5483 & 3483 #5504

merged 21 commits into from
Mar 26, 2021

Conversation

joshuafontany
Copy link
Contributor

Fixes #5483 by storing a relative path in the $tw.boot.files fileInfo objects for any tiddler marked isEditableFile. This is replaced with '' (an empty string) if missing, and is then used in the tests that check the "new" filepath against the known writable locations. We have to test against both, so a new check has been added. The previous calls to the tiddler storing this info have been removed as a security vulnerability.

@Jermolene This is good to merge, along with #5416. Mahalo (thanks)!!!

@joshuafontany
Copy link
Contributor Author

This now includes fixes for #3483, and sanitizers for "reserved codes" like "com5" on Windows, or certain character-sets on *nix.

@joshuafontany joshuafontany changed the title Fix 5483 Fix 5483 & 3483 Mar 25, 2021
@Jermolene
Copy link
Member

Thanks @joshuafontany, intricate stuff!

@Jermolene Jermolene merged commit a2e7cc5 into TiddlyWiki:master Mar 26, 2021
@joshuafontany joshuafontany deleted the fix-5483 branch September 6, 2021 23:05
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.

[BUG] $:/config/OriginalTiddlerPaths - paths outside the wiki folder are encoded.
2 participants