We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6842fd7 commit b542b52Copy full SHA for b542b52
spring-core/src/main/java/org/springframework/util/AntPathMatcher.java
@@ -52,6 +52,11 @@
52
* {@code org/springframework/testing/servlet/bla.jsp} and {@code org/servlet/bla.jsp}</li>
53
* </ul>
54
*
55
+ * <p><strong>Note:</strong> a pattern and a path must both be absolute or must
56
+ * both be relative in order for the two to match. Therefore it is recommended
57
+ * that users of this implementation to sanitize patterns in order to prefix
58
+ * them with "/" as it makes sense in the context in which they're used.
59
+ *
60
* @author Alef Arendsen
61
* @author Juergen Hoeller
62
* @author Rob Harrop
0 commit comments