**[Martin Lippert](https://jira.spring.io/secure/ViewProfile.jspa?name=mlippert)** opened **[SPR-13139](https://jira.spring.io/browse/SPR-13139?redirect=false)** and commented AntPathMatcher throws an StringIndexOutOfBoundsException when the comparator is used with a path that starts with a "*". Will create pull request to fix this. --- **Affects:** 4.1.4, 4.2 RC1 **Issue Links:** - #17707 AntPathMatcher isn't fully conform Ant Style