There was an issue with the DefaultDirectoryResource; in some cases an additional slash was added between the path base and the linked file(s).