Update support for using "." as path separator
Issue: SPR-11660
This commit is contained in:
@@ -607,9 +607,10 @@ public class AntPathMatcherTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void noExtensionHandlingWithDotSeparator() {
|
||||
public void testExtensionMappingWithDotPathSeparator() {
|
||||
pathMatcher.setPathSeparator(".");
|
||||
assertEquals("/*.html.hotel.*", pathMatcher.combine("/*.html", "hotel.*"));
|
||||
assertEquals("Extension mapping should be disabled with \".\" as path separator",
|
||||
"/*.html.hotel.*", pathMatcher.combine("/*.html", "hotel.*"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user