diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-10-16 16:46:45 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-10-16 16:46:45 +0300 |
commit | ebd86a653a5d646e7d41da4ac7a42a0add1e2fcb (patch) | |
tree | cca84debb9f62d84e7d72e0c26b8b1f765141758 /shared/src/com/vaadin | |
parent | ed8f82e6ab390a4139af8440896ee9574a734894 (diff) | |
download | vaadin-framework-ebd86a653a5d646e7d41da4ac7a42a0add1e2fcb.tar.gz vaadin-framework-ebd86a653a5d646e7d41da4ac7a42a0add1e2fcb.zip |
Don't let /APP requests continue to the BootstrapHandler (#9553)7.0.0.beta5
* Change ApplicationConstants.APP_REQUEST_PATH to not include an ending
slash so it can be used by the new check as well.
Change-Id: If613e339b0e1ef4fd9e4f07d7567cd381678b912
Diffstat (limited to 'shared/src/com/vaadin')
-rw-r--r-- | shared/src/com/vaadin/shared/ApplicationConstants.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/src/com/vaadin/shared/ApplicationConstants.java b/shared/src/com/vaadin/shared/ApplicationConstants.java index 61b57687bd..80b05d6021 100644 --- a/shared/src/com/vaadin/shared/ApplicationConstants.java +++ b/shared/src/com/vaadin/shared/ApplicationConstants.java @@ -20,14 +20,14 @@ public class ApplicationConstants { // This indicates the whole page is generated by us (not embedded) public static final String GENERATED_BODY_CLASSNAME = "v-generated-body"; - public static final String APP_REQUEST_PATH = "APP/"; + public static final String APP_REQUEST_PATH = "APP"; public static final String UIDL_REQUEST_PATH = "UIDL/"; public static final String HEARTBEAT_REQUEST_PATH = "HEARTBEAT/"; public static final String DEPENDENCY_RESOURCE_PREFIX = APP_REQUEST_PATH - + "DEPENDENCY"; + + '/' + "DEPENDENCY"; public static final String APP_PROTOCOL_PREFIX = "app://"; public static final String DEPENDENCY_PROTOCOL_NAME = "dependency"; |