From 553f67b697e749263a133413a77be64175b23c59 Mon Sep 17 00:00:00 2001 From: Johannes Dahlström Date: Thu, 6 Sep 2012 18:44:16 +0300 Subject: Separate view name from parameters with a slash in StaticViewProvider as well --- server/src/com/vaadin/navigator/Navigator.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/com/vaadin/navigator/Navigator.java b/server/src/com/vaadin/navigator/Navigator.java index 2f42acb320..f05d3678a5 100644 --- a/server/src/com/vaadin/navigator/Navigator.java +++ b/server/src/com/vaadin/navigator/Navigator.java @@ -223,7 +223,8 @@ public class Navigator implements Serializable { if (null == navigationState) { return null; } - if (navigationState.startsWith(viewName)) { + if (navigationState.equals(viewName) + || navigationState.startsWith(viewName + "/")) { return viewName; } return null; -- cgit v1.2.3