Pleroma.Upload: Pleroma.Upload.Filter.AnonymizeFilename is not functional as intended.
config :pleroma, Pleroma.Upload,
uploads: "uploads",
filters: [Pleroma.Upload.Filter.AnonymizeFilename],
# For whatever reason stripping fails.
strip_exif: true
Should result in randomized filenames, not just the anchor title as far as I understood the commit introducing this.
https://social.n0.is/notice/352695 is a test for this. Here you can see when you inspect the image, that it is:
<div class="attachment image">
<!---->
<!---->
<a class="image-attachment"
href="https://social.n0.is/media/0214f759-39e5-4c0e-ac9e-6a060a3e1bb0/12b3a3f7c75a84218120748ae2694ca0--music-songs-music-lyrics.jpg"
target="_blank"
title="bsF03fhs6ISLA.jpg">
</a>
<!---->
<!---->
<!---->
</div>
While I assume that not only the title should be changed, but its filename on disk should match the title (otherwise we could just leave out the title change).
Edited by Ghost User