Fix exception in AntPathMatcher for leading *
Issue: SPR-13139
This commit is contained in:
committed by
Rossen Stoyanchev
parent
be4329545a
commit
63f01c851f
@@ -479,6 +479,10 @@ public class AntPathMatcherTests {
|
||||
|
||||
// longer is better
|
||||
assertEquals(1, comparator.compare("/hotels", "/hotels2"));
|
||||
|
||||
//SPR-13139
|
||||
assertEquals(-1, comparator.compare("*", "*/**"));
|
||||
assertEquals(1, comparator.compare("*/**", "*"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user