We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67ea4b3 commit 702e01aCopy full SHA for 702e01a
spring-core/src/main/java/org/springframework/core/io/UrlResource.java
@@ -243,7 +243,7 @@ public Resource createRelative(String relativePath) throws MalformedURLException
243
*/
244
@Override
245
public String getFilename() {
246
- return StringUtils.getFilename(this.url.getPath());
+ return StringUtils.getFilename(this.cleanedUrl.getPath());
247
}
248
249
/**
0 commit comments