Sanitize filenames for all platforms used with Sync

Use case or problem

Different platforms have different disallowed characters for filenames. Currently, Obsidian Sync fails for any files which contain disallowed characters in the filename. This means that you need to go to the client where the file came from and fix it.

Proposed solution

The list of disallowed characters should be modified to include the characters disallowed on all client platforms. This is probably possible since Obsidian Sync presumably knows the platforms of all of my clients. Additionally, it should offer to sanitize the filenames in the following situations:

  • Sync is enabled
  • A new client platform is added

This way the vault will always be in a good state for sync.

Current workaround (optional)

  • Manually remove problematic characters from filenames
  • Manually run the Safe Filename Linter plugin occasionally

Related feature requests (optional)

None that I could find

1 Like