mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 05:14:59 +00:00
When checking whether an existing upload should be secure based on upload references, do not count deleted posts, since there is still a reference attached to them. This can lead to issues where e.g. an upload is used for a post then later on a custom emoji.