File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
src/main/java/ru/mystamps/web/config Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 26
26
import org .springframework .context .support .ReloadableResourceBundleMessageSource ;
27
27
import org .springframework .format .FormatterRegistry ;
28
28
import org .springframework .scheduling .annotation .EnableScheduling ;
29
- import org .springframework .util .AntPathMatcher ;
30
29
import org .springframework .validation .Validator ;
31
30
import org .springframework .validation .beanvalidation .LocalValidatorFactoryBean ;
32
31
import org .springframework .web .method .support .HandlerMethodArgumentResolver ;
@@ -120,13 +119,6 @@ public void addInterceptors(InterceptorRegistry registry) {
120
119
121
120
@ Override
122
121
public void configurePathMatch (PathMatchConfigurer configurer ) {
123
- // This is a temporary guard against CVE-2016-5007.
124
- // Should be removed after upgrading to Spring MVC 4.3.1+ and Spring Security 4.1.1+.
125
- // See also: http://pivotal.io/security/cve-2016-5007
126
- AntPathMatcher pathMatcher = new AntPathMatcher ();
127
- pathMatcher .setTrimTokens (false );
128
- configurer .setPathMatcher (pathMatcher );
129
-
130
122
// If enabled a method mapped to "/users" also matches to "/users/"
131
123
configurer .setUseTrailingSlashMatch (false );
132
124
// If enabled a method mapped to "/users" also matches to "/users.*"
You can’t perform that action at this time.
0 commit comments