mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-06 16:37:58 +01:00
Fixed export when server name contains non ascii
This commit is contained in:
parent
52aaebbd7a
commit
a634c6367b
@ -93,7 +93,7 @@ public class ServerPageExporter extends FileExporter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void exportJSON(Path toDirectory, Server server) throws IOException, NotFoundException {
|
public void exportJSON(Path toDirectory, Server server) throws IOException, NotFoundException {
|
||||||
String serverName = server.getName();
|
String serverName = toFileName(server.getName());
|
||||||
|
|
||||||
exportJSON(toDirectory,
|
exportJSON(toDirectory,
|
||||||
"serverOverview?server=" + serverName,
|
"serverOverview?server=" + serverName,
|
||||||
|
Loading…
Reference in New Issue
Block a user