Files
discourse/spec/models
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
..
2019-10-04 11:11:03 +10:00
2020-02-14 10:19:40 +02:00
2019-12-04 13:33:51 -05:00
2019-12-04 13:33:51 -05:00
2019-12-04 13:33:51 -05:00