From 9ce160f1b9fbce43cee493619253073b1aff1672 Mon Sep 17 00:00:00 2001 From: FrozenCow Date: Fri, 4 Mar 2011 20:15:52 +0100 Subject: [PATCH] Enabled '-' and '.' to be valid world-characters. --- src/main/java/org/dynmap/web/handlers/ClientUpdateHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/dynmap/web/handlers/ClientUpdateHandler.java b/src/main/java/org/dynmap/web/handlers/ClientUpdateHandler.java index 55607793..5954af02 100644 --- a/src/main/java/org/dynmap/web/handlers/ClientUpdateHandler.java +++ b/src/main/java/org/dynmap/web/handlers/ClientUpdateHandler.java @@ -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 {