mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 11:15:21 +01:00
Enabled '-' and '.' to be valid world-characters.
This commit is contained in:
parent
e771d94f24
commit
9ce160f1b9
@ -29,7 +29,7 @@ public class ClientUpdateHandler implements HttpHandler {
|
||||
this.server = server;
|
||||
}
|
||||
|
||||
Pattern updatePathPattern = Pattern.compile("world/([a-zA-Z0-9_]+)/([0-9]*)");
|
||||
Pattern updatePathPattern = Pattern.compile("world/([a-zA-Z0-9_-\\.]+)/([0-9]*)");
|
||||
@Override
|
||||
public void handle(String path, HttpRequest request, HttpResponse response) throws Exception {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user