Merge "Serve XSRF_COOKIE with /accounts/self/detail"

This commit is contained in:
Shawn Pearce
2016-08-22 22:18:02 +00:00
committed by Gerrit Code Review

View File

@@ -64,6 +64,7 @@ class UrlModule extends ServletModule {
if (options.enableDefaultUi()) {
filter("/").through(XsrfCookieFilter.class);
filter("/accounts/self/detail").through(XsrfCookieFilter.class);
serve("/").with(HostPageServlet.class);
serve("/Gerrit").with(LegacyGerritServlet.class);
serve("/Gerrit/*").with(legacyGerritScreen());