Skip to content

ANDROID_UNSAFE_PATH_CHARS

The characters Obsidian refuses in a file name on Android, plus the NUL no file system stores.

Obsidian adds * ? < > " to the UNIX_UNSAFE_PATH_CHARS set there, because Android’s shared storage refuses them. Read from Obsidian 1.15.0’s app.js.

Import:

import { ANDROID_UNSAFE_PATH_CHARS } from '@mnaoumov/obsidian-lib/validation';

Signature:

const ANDROID_UNSAFE_PATH_CHARS: RegExp

Type: RegExp


Links to this page: