Commit fd103eb5 authored by 赵啸非's avatar 赵啸非

提交配置校验

parent 0b7ebdb7
...@@ -41,7 +41,7 @@ public class SameSiteCookieFilter implements Filter { ...@@ -41,7 +41,7 @@ public class SameSiteCookieFilter implements Filter {
} }
} }
//cors //cors
String referer = httpRequest.getHeader("Referer"); /* String referer = httpRequest.getHeader("Referer");
if(ObjectUtils.isEmpty(referer)){ if(ObjectUtils.isEmpty(referer)){
chain.doFilter(request, response); chain.doFilter(request, response);
}else{ }else{
...@@ -57,7 +57,7 @@ public class SameSiteCookieFilter implements Filter { ...@@ -57,7 +57,7 @@ public class SameSiteCookieFilter implements Filter {
httpResponse.setStatus(HttpStatus.HTTP_BAD_REQUEST); httpResponse.setStatus(HttpStatus.HTTP_BAD_REQUEST);
} }
} }
} }*/
chain.doFilter(request, response); chain.doFilter(request, response);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment