-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Dave Syer opened SPR-17198 and commented
This method from UrlResource throws UnsupportedFeatureError in GraalVM:
private URL getCleanedUrl(URL originalUrl, String originalPath) {
try {
return new URL(StringUtils.cleanPath(originalPath));
}
catch (MalformedURLException ex) {
// Cleaned URL path cannot be converted to URL
// -> take original URL.
return originalUrl;
}
}So the originalUrl would have been fine, but it cannot get past this private method to read the input stream. We could be more defensive there.
Affects: 5.0.8
Reference URL: oracle/graal#623
Issue Links:
- Initial GraalVM native images (Substrate VM) support [SPR-16991] #21529 Initial GraalVM native images (Substrate VM) support ("is depended on by")
- UrlResource getFilename should not contain query parameters [SPR-15411] #19974 UrlResource getFilename should not contain query parameters
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement