@ -122,24 +122,21 @@ public class PathResourceResolver extends AbstractResourceResolver {
@@ -122,24 +122,21 @@ public class PathResourceResolver extends AbstractResourceResolver {
if(checkResource(resource,location)){
returnresource;
}
else{
if(logger.isTraceEnabled()){
logger.trace("resourcePath=\""+resourcePath+"\" was successfully resolved "+
"but resource=\""+resource.getURL()+"\" is neither under the "+
"current location=\""+location.getURL()+"\" nor under any of the "+
"allowed locations="+getAllowedLocations());
}
elseif(logger.isTraceEnabled()){
logger.trace("Resource path=\""+resourcePath+"\" was successfully resolved "+
"but resource=\""+resource.getURL()+"\" is neither under the "+
"current location=\""+location.getURL()+"\" nor under any of the "+
@ -165,15 +162,15 @@ public class PathResourceResolver extends AbstractResourceResolver {
@@ -165,15 +162,15 @@ public class PathResourceResolver extends AbstractResourceResolver {
@ -186,7 +183,7 @@ public class PathResourceResolver extends AbstractResourceResolver {
@@ -186,7 +183,7 @@ public class PathResourceResolver extends AbstractResourceResolver {
returnfalse;
}
if(resourcePath.contains("%")){
// Use URLDecoder (vs UriUtils) to preserve potentially decoded UTF-8 chars
// Use URLDecoder (vs UriUtils) to preserve potentially decoded UTF-8 chars...