We should remove the usage of PathMatcher in web modules to align with https://github.com/spring-projects/spring-framework/issues/34018