]> source.dussan.org Git - vaadin-framework.git/commitdiff
Don't pass "APP" to getWindow(). Fixes #2146
authorMarc Englund <marc.englund@itmill.com>
Fri, 10 Oct 2008 07:46:57 +0000 (07:46 +0000)
committerMarc Englund <marc.englund@itmill.com>
Fri, 10 Oct 2008 07:46:57 +0000 (07:46 +0000)
svn changeset:5622/svn branch:trunk

src/com/itmill/toolkit/terminal/gwt/server/ApplicationServlet.java

index e8165f3ff98dd0bab03e135a08a33be520a626dc..8a56275d608df00cc2fe75959cb60b6b3ba6ff9e 100644 (file)
@@ -1486,7 +1486,8 @@ public class ApplicationServlet extends HttpServlet {
         }
 
         // Main window as the URI is empty
-        if (path == null || path.length() == 0 || path.equals("/")) {
+        if (path == null || path.length() == 0 || path.equals("/")
+                || path.startsWith("/APP/")) {
             window = application.getMainWindow();
         } else {
             String windowName = null;