Add optional property "folderName" which rejects names containing any invalid characters.
Rejected characters are /< > : " / \ | ? * Does not protect against strings containing non-printable control characters, or strings of reserved filenames like CON, PRN, AUX, NUL.
This commit is contained in:
@@ -31,6 +31,10 @@
|
||||
"downloadURL": {
|
||||
"type": "string",
|
||||
"format": "uri"
|
||||
},
|
||||
"folderName": {
|
||||
"type": "string",
|
||||
"pattern": "^[^<>:\"/\\|?*]+$"
|
||||
}
|
||||
},
|
||||
"required": ["title", "requires-steamodded", "categories", "author", "repo", "downloadURL"]
|
||||
|
||||
Reference in New Issue
Block a user