Update support for using "." as path separator

Leading slash is now managed in a generic way, regardless of
the AntPathMatcher path separator.

Issue: SPR-11660