Enabled '-' and '.' to be valid world-characters.
This commit is contained in:
parent
e771d94f24
commit
9ce160f1b9
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue