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:
@@ -491,7 +491,7 @@ public class StaticModule extends ServletModule {
|
|||||||
|
|
||||||
private boolean handlePolyGerritParam(HttpServletRequest req, HttpServletResponse res)
|
private boolean handlePolyGerritParam(HttpServletRequest req, HttpServletResponse res)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
if (!options.enableGwtUi()) {
|
if (!options.enableGwtUi() || !"GET".equals(req.getMethod())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
boolean redirect = false;
|
boolean redirect = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user