mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-01 18:50:27 +03:00
Fixed un-sanitized filenames being used in file chooser
This commit is contained in:
Binary file not shown.
@@ -81,6 +81,7 @@ public class FileChooser{
|
||||
if(fileName == null){
|
||||
fileName = "file." + extensions[0];
|
||||
}
|
||||
fileName = Strings.sanitizeFilename(fileName);
|
||||
}
|
||||
|
||||
/** Submits the request to handle a single file. */
|
||||
|
||||
Reference in New Issue
Block a user