The single-arg constructor in AntPathRequestMatcher is creating a case-sensitive matcher #4260
Labels
in: docs
An issue in Documentation or samples
status: duplicate
A duplicate of another issue
type: bug
A general bug
java doc for public AntPathRequestMatcher(String pattern) says
"Creates a matcher with the specific pattern which will match all HTTP methods in a
case insensitive manner." This was true in previous versions, but now it is not.
This calls another overloaded constructor which in turn passes the caseSensitive arg = true to
AntPathRequestMatcher(String pattern, String httpMethod, boolean caseSensitive)
In previous versions, the caseSensitive arg was set to false:
Here's the 4.02 code:
The text was updated successfully, but these errors were encountered: