Ensure instance name is a valid Windows file name

Add check for instance name that ensures it being a valid Windows file.
See the microsoft article about naming files for more details:
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file
This commit is contained in:
Hornwitser committed 2019-09-16 16:04:02 +02:00
1 parent 1ba9e68603
commit 53a5ce062b
3 files changed
+98

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ Version 2.0.0
- The masterIP and masterPort config entries has been merged into masterURL.
Breaks discordChat, playerManager, serverSelect, trainTeleports and
clusterioModel.
- Instance names can no longer be invalid Windows file names.
Version 1.2.1