Martin Brennan 04df3bd46d
FIX: Only mark attachments as secure media if SiteSetting.secure_media? (#9009)
* Attachments (non media files) were being marked as secure if just
SiteSetting.prevent_anons_from_downloading_files was enabled. this
was not correct as nothing should be marked as actually "secure" in
the DB without that site setting enabled
* Also add a proper standalone spec file for the upload security class
2020-02-21 09:35:16 +10:00
..
2020-01-15 11:27:12 +01:00
2019-10-21 12:08:20 +01:00
2019-05-22 17:39:44 +03:00
2020-02-13 16:56:46 -05:00
2019-10-21 12:08:20 +01:00