diff options
author | Ugnich Anton | 2012-02-20 21:38:29 +0700 |
---|---|---|
committer | Ugnich Anton | 2012-02-20 21:38:29 +0700 |
commit | 34da94d887ae7be134d17c4bc9e101a8c198b300 (patch) | |
tree | 2e3d3444fdb4c4508072a39b9962965556111fe2 /src/java/com/juick/http/www/Main.java | |
parent | 2acfbc4184eec216c2a394029962aa2905c6b0a2 (diff) |
Bugfixes
Diffstat (limited to 'src/java/com/juick/http/www/Main.java')
-rw-r--r-- | src/java/com/juick/http/www/Main.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/juick/http/www/Main.java b/src/java/com/juick/http/www/Main.java index b7f95a4a..910a554f 100644 --- a/src/java/com/juick/http/www/Main.java +++ b/src/java/com/juick/http/www/Main.java @@ -149,7 +149,7 @@ public class Main extends HttpServlet implements XmppListener { //TODO settings } else if (uri.matches("^/\\d+$")) { rootRedirects.doGetPostID(sql, request, response); - } else if (uri.matches("^/[^/]$")) { + } else if (uri.matches("^/[^/]+$")) { rootRedirects.doGetUsername(sql, request, response); } else if (uri.matches("^/.+/.*")) { String uriparts[] = uri.split("/"); |