UrlResource#getFilename() currently returns the filename URL-encoded which is in contrast to what FileSystemResource#getFilename() returns for the same file: resource.

In addition, users most likely expect that a filename returned from a method defined in the Resource interface is unencoded.