aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-07 15:43:18 +0300
committerGravatar Vitaly Takmazov2018-09-07 15:43:18 +0300
commit795fe65a5455e7422ce355bb4810cbda3e82dd53 (patch)
treeedf07d2dd2ec414cb63f0f79e7ffda8d0324488a /juick-server/src
parente7996a800914bbd39b7374b4628f5cc922cfeea8 (diff)
fix anythingFilter
Diffstat (limited to 'juick-server/src')
-rw-r--r--juick-server/src/main/java/com/juick/server/www/controllers/AnythingFilter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-server/src/main/java/com/juick/server/www/controllers/AnythingFilter.java b/juick-server/src/main/java/com/juick/server/www/controllers/AnythingFilter.java
index 4bdbf298..cdbeafc0 100644
--- a/juick-server/src/main/java/com/juick/server/www/controllers/AnythingFilter.java
+++ b/juick-server/src/main/java/com/juick/server/www/controllers/AnythingFilter.java
@@ -30,6 +30,7 @@ public class AnythingFilter extends OncePerRequestFilter {
String upgrade = servletRequest.getHeader("Connection");
if (upgrade != null && upgrade.equals("Upgrade")) {
filterChain.doFilter(servletRequest, servletResponse);
+ return;
}
UriComponents components = ServletUriComponentsBuilder.fromCurrentRequestUri().build();
String anything = components.getPath().substring(1);