File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
spring-webmvc/src/main/java/org/springframework/web/servlet/function Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public Optional<Resource> apply(ServerRequest request) {
6161 }
6262
6363 pathContainer = this .pattern .extractPathWithinPattern (pathContainer );
64- String path = processPath (pathContainer .value ());
64+ String path = ResourceHandlerUtils . normalizeInputPath (pathContainer .value ());
6565 if (ResourceHandlerUtils .shouldIgnoreInputPath (path )) {
6666 return Optional .empty ();
6767 }
@@ -84,14 +84,6 @@ public Optional<Resource> apply(ServerRequest request) {
8484 }
8585 }
8686
87- /**
88- * Process the given resource path.
89- * <p>By default, this method delegates to {@link ResourceHandlerUtils#normalizeInputPath}.
90- */
91- protected String processPath (String path ) {
92- return ResourceHandlerUtils .normalizeInputPath (path );
93- }
94-
9587 @ Override
9688 public String toString () {
9789 return this .pattern + " -> " + this .location ;
You can’t perform that action at this time.
0 commit comments