summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2012-12-17 23:32:35 +0200
committerArtur Signell <artur@vaadin.com>2012-12-17 23:32:35 +0200
commit3d9070537506575ae67485522aa4961a21b38906 (patch)
tree1d61781ae8d3453e565c8b931a389de53e4b5a7b /server
parentb88fdafcfd37fac3ef07be42dda95c85cf8302a0 (diff)
downloadvaadin-framework-3d9070537506575ae67485522aa4961a21b38906.tar.gz
vaadin-framework-3d9070537506575ae67485522aa4961a21b38906.zip
Fixed TestBench compatibility for root context (#10541)
Change-Id: If400b16afa07480afc8007fd3144f68644a60a12
Diffstat (limited to 'server')
-rw-r--r--server/src/com/vaadin/server/VaadinServletService.java2
1 files changed, 1 insertions, 1 deletions
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]", "");