Fixed export when server name contains non ascii

This commit is contained in:
Rsl1122 2019-09-21 15:45:46 +03:00
parent 52aaebbd7a
commit a634c6367b

View File

@ -93,7 +93,7 @@ public class ServerPageExporter extends FileExporter {
}
public void exportJSON(Path toDirectory, Server server) throws IOException, NotFoundException {
String serverName = server.getName();
String serverName = toFileName(server.getName());
exportJSON(toDirectory,
"serverOverview?server=" + serverName,