mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-07 12:28:25 +02: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 {
|
||||
String serverName = server.getName();
|
||||
String serverName = toFileName(server.getName());
|
||||
|
||||
exportJSON(toDirectory,
|
||||
"serverOverview?server=" + serverName,
|
||||
|
Loading…
Reference in New Issue
Block a user