add "ascii" as a special 'path-restrict' value

This commit is contained in:
Mike Fährmann
2021-01-09 02:35:51 +01:00
parent 5818c928c4
commit 5d4494b15f
2 changed files with 2 additions and 0 deletions

View File

@@ -154,6 +154,7 @@ Description
depending on the local operating system
* ``"unix"``: ``"/"``
* ``"windows"``: ``"\\\\|/<>:\"?*"``
* ``"ascii"``: ``"^0-9A-Za-z_."``
Note: In a string with 2 or more characters, ``[]^-\`` need to be
escaped with backslashes, e.g. ``"\\[\\]"``