diff options
author | Vitaly Takmazov | 2018-09-07 15:43:18 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-09-07 15:43:18 +0300 |
commit | 795fe65a5455e7422ce355bb4810cbda3e82dd53 (patch) | |
tree | edf07d2dd2ec414cb63f0f79e7ffda8d0324488a | |
parent | e7996a800914bbd39b7374b4628f5cc922cfeea8 (diff) |
fix anythingFilter
-rw-r--r-- | juick-server/src/main/java/com/juick/server/www/controllers/AnythingFilter.java | 1 |
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); |