Polishing

This commit is contained in:
Juergen Hoeller
2018-11-22 20:38:26 +01:00
parent 2e55486cc3
commit 39925c334d
2 changed files with 3 additions and 3 deletions

View File

@@ -657,7 +657,7 @@ public class ResourceHttpRequestHandler extends WebContentGenerator
}
if (path.contains("..") && StringUtils.cleanPath(path).contains("../")) {
if (logger.isTraceEnabled()) {
logger.trace("Invalid Path contains \"../\" after call to StringUtils#cleanPath: [" + path + "]");
logger.trace("Path contains \"../\" after call to StringUtils#cleanPath: [" + path + "]");
}
return true;
}