moresandeep commented on a change in pull request #445: URL: https://github.com/apache/knox/pull/445#discussion_r625902703
########## File path: gateway-provider-security-jwt/src/main/java/org/apache/knox/gateway/provider/federation/jwt/filter/SSOCookieFederationFilter.java ########## @@ -146,11 +146,11 @@ public void doFilter(ServletRequest request, ServletResponse response, FilterCha if (ssoCookies.isEmpty()) { /* check for unauthenticated paths to bypass */ for (final String path : unAuthenticatedPaths) { - if (req.getRequestURI().contains(path)) { + if (req.getPathInfo().equals(path)) { Review comment: yes, it should, I will refactor the code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org