diff options
Diffstat (limited to 'gerrit-httpd/src/main/java/com/google/gerrit/httpd/UrlModule.java')
-rw-r--r-- | gerrit-httpd/src/main/java/com/google/gerrit/httpd/UrlModule.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/UrlModule.java b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/UrlModule.java index b93df4334c..bd25fafc31 100644 --- a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/UrlModule.java +++ b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/UrlModule.java @@ -81,7 +81,6 @@ class UrlModule extends ServletModule { serve("/signout").with(HttpLogoutServlet.class); serve("/ssh_info").with(SshInfoServlet.class); serve("/static/*").with(StaticServlet.class); - serve("/tools/*").with(ToolServlet.class); serve("/Main.class").with(notFound()); serve("/com/google/gerrit/launcher/*").with(notFound()); @@ -100,6 +99,7 @@ class UrlModule extends ServletModule { serveRegex("^/r/(.+)/?$").with(DirectChangeByCommit.class); filter("/a/*").through(RequireIdentifiedUserFilter.class); + serveRegex("^/(?:a/)?tools/(.*)$").with(ToolServlet.class); serveRegex("^/(?:a/)?accounts/(.*)$").with(AccountsRestApiServlet.class); serveRegex("^/(?:a/)?changes/(.*)$").with(ChangesRestApiServlet.class); serveRegex("^/(?:a/)?groups/(.*)?$").with(GroupsRestApiServlet.class); |