No warning or error for some illegal characters cross-platform

Steps to reproduce

In Linux:

  • Create note with quote in title: my “note”
  • Or, create folder with period at the end: U.

Expected result

I expect the resulting title or folder name to be considered illegal

Actual result

In Windows: Syncthing fails because Windows will not allow quotes in the file name, or a folder name ending with a period.

Environment

  • Operating system:

SYSTEM INFO:
Obsidian version: v0.15.9
Installer version: v0.15.9
Operating system: #1 SMP PREEMPT_DYNAMIC Mon Sep 5 10:16:57 UTC 2022 5.19.7-1-MANJARO
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: Obsidian Nord
Snippets enabled: 2
Restricted mode: on

RECOMMENDATIONS:
Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.

  • Debug info: N/A

we used to forbid cross platform illegal characters and people complained because “I am on a Mac why should I be bound by windows file system limitations (and viceversa + mobile).”

So, now it’s on you to know your devices and their naming limitations.

2 Likes

why not make it an option in the files & links settings section. and while you are at it, add one option to replace spaces with dash or underscore

Search/open a feature request.