Serve XSRF_COOKIE with /accounts/self/detail
Bug: Issue 4285 Change-Id: I03d78cf23e23328acab4284d8080dddc99ce1337
This commit is contained in:
@@ -64,6 +64,7 @@ class UrlModule extends ServletModule {
|
|||||||
|
|
||||||
if (options.enableDefaultUi()) {
|
if (options.enableDefaultUi()) {
|
||||||
filter("/").through(XsrfCookieFilter.class);
|
filter("/").through(XsrfCookieFilter.class);
|
||||||
|
filter("/accounts/self/detail").through(XsrfCookieFilter.class);
|
||||||
serve("/").with(HostPageServlet.class);
|
serve("/").with(HostPageServlet.class);
|
||||||
serve("/Gerrit").with(LegacyGerritServlet.class);
|
serve("/Gerrit").with(LegacyGerritServlet.class);
|
||||||
serve("/Gerrit/*").with(legacyGerritScreen());
|
serve("/Gerrit/*").with(legacyGerritScreen());
|
||||||
|
|||||||
Reference in New Issue
Block a user