Detect invalid filenames created outside the vault

Cannot refer to files with pipe | in filename:

  1. Create in other editor file named “word1 | word2.md”
  2. Obsidian search see this file but when putting reference in the text it will interpret [[word1 | word2]] as if word2 is an alias to word1
  3. file word1.md will be created instead of the reference to “word1 | word2.md”

Solution

  1. allowing for special escape character for pipe | when referencing file with that name (and auto-inputing it when obsidian reference such file)

or

  1. Prompting user to change the name of that file

Steps to reproduce

Expected result

Actual result

Environment

  • Operating system:
  • Obsidian version:

Obsidian 0.7.4

Additional information

2 posts were merged into an existing topic: [Consolidation]: Handling of Invalid filenames created outside Obsidian