From: Artur Signell Date: Mon, 17 Dec 2012 21:32:35 +0000 (+0200) Subject: Fixed TestBench compatibility for root context (#10541) X-Git-Tag: 7.0.0.beta11~17 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F523%2F1;p=vaadin-framework.git Fixed TestBench compatibility for root context (#10541) Change-Id: If400b16afa07480afc8007fd3144f68644a60a12 --- diff --git a/server/src/com/vaadin/server/VaadinServletService.java b/server/src/com/vaadin/server/VaadinServletService.java index 7a15c0cc19..55c95f628a 100644 --- a/server/src/com/vaadin/server/VaadinServletService.java +++ b/server/src/com/vaadin/server/VaadinServletService.java @@ -205,7 +205,7 @@ public class VaadinServletService extends VaadinService { // Just ignore problem here } - if (appId == null || "".equals(appId)) { + if (appId == null || "".equals(appId) || "/".equals(appId)) { appId = "ROOT"; } appId = appId.replaceAll("[^a-zA-Z0-9]", "");