Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replace non-word chars in uploaded filenames
Storage maintains a list of allowed characters, which excludes some characters used automatically by OSes for naming files (e.g., Mac default screenshot naming). To preempt errors, replace any characters that aren't alphanumerics, underscores, hyphens, or periods with underscores. See: https://forum.obsidian.md/t/unable-to-attach-screenshot-images-in-macos-14-0-when-wikilinks-turned-off-urlencode-u-202f-char/68410/6
- Loading branch information