summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin')
-rw-r--r--server/src/com/vaadin/navigator/Navigator.java3
1 files changed, 2 insertions, 1 deletions
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;