From 3d9070537506575ae67485522aa4961a21b38906 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 17 Dec 2012 23:32:35 +0200 Subject: [PATCH] Fixed TestBench compatibility for root context (#10541) Change-Id: If400b16afa07480afc8007fd3144f68644a60a12 --- server/src/com/vaadin/server/VaadinServletService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]", ""); -- 2.39.5