Polishing
This commit is contained in:
		
							parent
							
								
									626f4279f6
								
							
						
					
					
						commit
						5271f5b8a1
					
				|  | @ -61,7 +61,7 @@ class PathResourceLookupFunction implements Function<ServerRequest, Optional<Res | ||||||
| 		} | 		} | ||||||
| 
 | 
 | ||||||
| 		pathContainer = this.pattern.extractPathWithinPattern(pathContainer); | 		pathContainer = this.pattern.extractPathWithinPattern(pathContainer); | ||||||
| 		String path = processPath(pathContainer.value()); | 		String path = ResourceHandlerUtils.normalizeInputPath(pathContainer.value()); | ||||||
| 		if (ResourceHandlerUtils.shouldIgnoreInputPath(path)) { | 		if (ResourceHandlerUtils.shouldIgnoreInputPath(path)) { | ||||||
| 			return Optional.empty(); | 			return Optional.empty(); | ||||||
| 		} | 		} | ||||||
|  | @ -84,14 +84,6 @@ class PathResourceLookupFunction implements Function<ServerRequest, Optional<Res | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	/** |  | ||||||
| 	 * Process the given resource path. |  | ||||||
| 	 * <p>By default, this method delegates to {@link ResourceHandlerUtils#normalizeInputPath}. |  | ||||||
| 	 */ |  | ||||||
| 	protected String processPath(String path) { |  | ||||||
| 		return ResourceHandlerUtils.normalizeInputPath(path); |  | ||||||
| 	} |  | ||||||
| 
 |  | ||||||
| 	@Override | 	@Override | ||||||
| 	public String toString() { | 	public String toString() { | ||||||
| 		return this.pattern + " -> " + this.location; | 		return this.pattern + " -> " + this.location; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue