Summary
Notes created on iOS via Safari → Share → Obsidian may result in filenames containing characters or line breaks that are not compatible with other platforms (particularly Windows). This leads to files being inaccessible or missing when the same vault is opened on Windows.
Steps to reproduce
-
On iOS, open Safari
-
Use Share → “Obsidian” to create a new note from a webpage
-
The note is created in the vault with a title derived from the webpage
-
The generated filename may contain:
-
characters such as
| -
or line breaks (newline)
-
-
Open the same vault on Windows
Did you follow the troubleshooting guide?
Yes
Expected result
-
Filenames created by Obsidian on iOS should be compatible across platforms, especially with Windows filesystem constraints
-
Problematic characters (e.g.
<>:"/\|?*) and newline characters should be sanitized automatically during note creation -
Notes created via Share should result in valid filenames on all supported platforms
Actual result
-
Notes created via Safari → Share → Obsidian can contain:
-
invalid characters for Windows (e.g.
|) -
newline characters in filenames
-
-
These filenames cannot exist on Windows filesystem
-
When opening the vault on Windows:
-
files are missing or inaccessible
-
notes cannot be created or opened properly
-
Environment
-
Platform: iOS (source device)
-
Target platform: Windows 11
-
Obsidian version: 1.12.7
Additional information
-
The issue originates at note creation on iOS, specifically when using Share (Safari → Obsidian)
-
The generated filenames are not sanitized for cross-platform compatibility
-
This leads to downstream issues:
-
files cannot be created/opened on Windows
-
notes may be missing or inaccessible
-
manual cleanup required
-
-
Workaround:
-
Renaming notes on iOS to remove problematic characters resolves the issue
-
Using a plugin like “devHudi/obsidian-filename-sanitizer”
-
-
Suggested improvement:
-
Sanitize filenames during note creation on mobile (especially for Share)
-
Ensure compatibility with Windows filename restrictions
-
Related feature request
sanitize-filenames-for-all-platforms-used-with-sync/98117