mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
1fc0ce1ac2
When we check upload security, one of the checks is to run `access_control_post.with_secure_uploads?`. The problem here is that the `topic` for the post could be deleted, which would make the check return `nil` sometimes instead of false because of safe navigation. We just need to be more explicit. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |