Skip to content
Permalink
Browse files
GERONIMO-6702 ensure we read the right value when trying to skip the …
…tracing of some urls
  • Loading branch information
rmannibucau committed Feb 24, 2019
1 parent 8753b83 commit 04b242bf9f7c13b9aea4c916b30441ae35e2fea7
Showing 1 changed file with 1 addition and 1 deletion.
@@ -148,7 +148,7 @@ public void doFilter(final ServletRequest request, final ServletResponse respons
if (skipUrls != null && !skipUrls.isEmpty()) {
final HttpServletRequest req = HttpServletRequest.class.cast(request);
final String matching = req.getRequestURI().substring(req.getContextPath().length());
if (forcedUrls.stream().anyMatch(p -> p.test(matching))) {
if (skipUrls.stream().anyMatch(p -> p.test(matching))) {
chain.doFilter(request, response);
return;
}

0 comments on commit 04b242b

Please sign in to comment.