This is not a duplicate of
there has been a change to get the filename using the decoded path
var filePath = _fileNameProvider.GetFileName(profileName, System.Web.HttpUtility.UrlDecode(path));
however in the UpdateFileName method the encode path is passed. Therefore this value is not retrieved from the Orchard_MediaProcessing_FileNameRecord table.
This would result in constantly reprocessing of the image profile files (without being necessary)
_fileNameProvider.UpdateFileName(profileName, path, filterContext.FilePath);
we believe this needs to be the decoded path as well (to be consistent with the GetFileName method
_fileNameProvider.UpdateFileName(profileName, System.Web.HttpUtility.UrlDecode(path), filterContext.FilePath);