aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal/gwt
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2011-12-14 14:36:46 +0200
committerLeif Åstrand <leif@vaadin.com>2011-12-14 16:57:57 +0200
commitfc7914481d68cc0ebedc81b60347c812a6170c4e (patch)
tree0595bdcda747d0c7f8b6cf1cbd2a9b6aea1d1a22 /src/com/vaadin/terminal/gwt
parent5ac66ff6b7b496a0aed7b6e039215fdc79b16d22 (diff)
downloadvaadin-framework-fc7914481d68cc0ebedc81b60347c812a6170c4e.tar.gz
vaadin-framework-fc7914481d68cc0ebedc81b60347c812a6170c4e.zip
Update regex to cope with the request paths used in portlets
Diffstat (limited to 'src/com/vaadin/terminal/gwt')
-rw-r--r--src/com/vaadin/terminal/gwt/server/ApplicationResourceHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/ApplicationResourceHandler.java b/src/com/vaadin/terminal/gwt/server/ApplicationResourceHandler.java
index 8766b90fc0..7cf66d5fcf 100644
--- a/src/com/vaadin/terminal/gwt/server/ApplicationResourceHandler.java
+++ b/src/com/vaadin/terminal/gwt/server/ApplicationResourceHandler.java
@@ -19,7 +19,7 @@ import com.vaadin.terminal.WrappedResponse;
public class ApplicationResourceHandler implements RequestHandler {
private static final Pattern APP_RESOURCE_PATTERN = Pattern
- .compile("/APP/(\\d+)/.*");
+ .compile("^/?APP/(\\d+)/.*");
public boolean handleRequest(Application application,
WrappedRequest request, WrappedResponse response)