Merge branch 'stable-2.14'

* stable-2.14:
  StaticModule: Only attempt to parse polygerrit parameter on GET
  Set version to 2.14.3-SNAPSHOT
  RelativeDateFormatter: Remove unnecessary @SuppressWarnings("boxing")

Change-Id: I984543e05c94664c6b600d43359b2571bd9bef13
This commit is contained in:
David Pursehouse
2017-07-27 06:06:07 +01:00

View File

@@ -491,7 +491,7 @@ public class StaticModule extends ServletModule {
private boolean handlePolyGerritParam(HttpServletRequest req, HttpServletResponse res)
throws IOException {
if (!options.enableGwtUi()) {
if (!options.enableGwtUi() || !"GET".equals(req.getMethod())) {
return false;
}
boolean redirect = false;