UrlResource applies StringUtils.getFilename against cleaned URL path
Issue: SPR-15411
This commit is contained in:
parent
67ea4b3a05
commit
702e01ad52
|
@ -243,7 +243,7 @@ public class UrlResource extends AbstractFileResolvingResource {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getFilename() {
|
public String getFilename() {
|
||||||
return StringUtils.getFilename(this.url.getPath());
|
return StringUtils.getFilename(this.cleanedUrl.getPath());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue