1
0

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:
Breezebuilder
2025-03-07 12:56:16 +11:00
parent 8e30f36e7d
commit fafa1fb0de

View File

@@ -31,6 +31,10 @@
"downloadURL": {
"type": "string",
"format": "uri"
},
"folderName": {
"type": "string",
"pattern": "^[^<>:\"/\\|?*]+$"
}
},
"required": ["title", "requires-steamodded", "categories", "author", "repo", "downloadURL"]