mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 11:28:18 +00:00
56eaf91589
If a secure upload's access_control_post was trashed, and an anon user tried to look at that upload, they would get a 500 error rather than the correct 403 because of an error inside the PostGuardian logic.