mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-30 00:32:14 +00:00
Previously a NullPointerException would occur if an HttpServletRequest.getMethod() returned null. Now AntPathRequestMatcher and RegexpRequestMatcher will handle if the HttpServletRequest.getMethod() returns null. While under normal circumstances, it is unlikely for the method to be null this can occur when using DefaultWebInvocationPrivilegeEvaluator.isAllowed(String, Authentication).