Wrong 'ENOENT' error when trying to create note which name contains slash

Clicking on a link to a non-existent note which name contains ‘illegal’ symbol fires an error:

But if you click on a link to a non-existent note which name contains slash there is an ‘ENOENT’ error:

Environment

  • Operating system: macOS Big Sur
  • Obsidian version: 0.8.0, no CSS
2 Likes

yeah, it should create a directory.

Actually, given that now we support 3 different link format including 2 where you are required to specify the directory, the fact that it throws an error when the directory doesn’t exist it’s right behaviour.