Moved logic for max file path length in file storage provider (#8603)

Co-authored-by: matteo.piovanelli <matteo.piovanelli@laser-group.com>
This commit is contained in:
Andrea Piovanelli
2022-09-05 09:01:30 +02:00
committed by GitHub
parent 343ceb777b
commit ddc56c8baa
2 changed files with 30 additions and 0 deletions

View File

@@ -171,6 +171,8 @@ namespace Orchard.MediaProcessing.Services {
}
}
}
// the storage provider may have altered the filepath
filterContext.FilePath = newFile.GetPath();
}
}
catch(Exception e) {