stages/shell.init: restrict filename pattern
Old filename pattern was too wide and contained a bug in the form of .-_, which defined a range instead of three characters.
This commit is contained in:
parent
b848e5d9df
commit
eb903a9596
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ SCHEMA_2 = r"""
|
|||
"options": {
|
||||
"properties": {
|
||||
"patternProperties": {
|
||||
"^[\\w.-_]{1,250}$": {
|
||||
"^[a-zA-Z0-9\\.\\-_]{1,250}$": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue