Closed as not planned
Description
If you don't use the default separator, "/" should not be special:
jshell> new AntPathMatcher("\0").extractUriTemplateVariables("tot{;}", "totoa");
$11 ==> {;=oa}
jshell> new AntPathMatcher("\0").extractUriTemplateVariables("tot{/}", "totoa");
| Exception java.lang.IllegalStateException: Pattern "tot{/}" is not a match for "totoa"
| at AntPathMatcher.extractUriTemplateVariables (AntPathMatcher.java:516)
| at (#12:1)
Expected {/=oa}
note: the previous example is treated as an exact match:
jshell> new AntPathMatcher("\0").extractUriTemplateVariables("tot{/}", "tot{/}");
$19 ==> {}
See
there are slashes hardcoded in there