PR 56973 getLastModified in URLResource throws NPE for FTP URLs