Normalize URIs returned from FileSystemResource.getURI() #29275
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Due to changes made in conjunction with #29163, the URI for a
FileSystemResource
returned fromPathMatchingResourcePatternResolver.getResources(String)
now includes an additional two slashes (file:///...
) instead of one (file:/...
) as was previously the case.In order not to break existing code that expects a single leading slash, we should see if we can modify the behavior of
FileSystemResource
so thatfile:
URIs returned fromgetURI()
contain a single slash.The text was updated successfully, but these errors were encountered: