Merge branch 'stable-2.14' into stable-2.15

* stable-2.14:
  Redirect polygerrit urls with context to GWTUI

Change-Id: Idc721bc1ba5981c2a2c9d23d4251bbac9323aa91
This commit is contained in:
David Pursehouse 2017-10-11 19:51:06 +09:00
commit 6307c3b6dc

View File

@ -134,7 +134,7 @@ class UrlModule extends ServletModule {
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse rsp) throws IOException {
toGerrit(req.getRequestURI(), req, rsp);
toGerrit(req.getRequestURI().substring(req.getContextPath().length()), req, rsp);
}
});
}