mirror of
https://github.com/discourse/discourse.git
synced 2025-05-29 01:17:36 +08:00
FIX: Do not mark badge image uploads as secure (#13193)
* FIX: Do not mark badge image uploads as secure We do not need badge_image upload types to be marked as secure. Post migration is the same as https://github.com/discourse/discourse/pull/12081. See https://meta.discourse.org/t/secure-media-uploads/140017/122?u=martin
This commit is contained in:
@ -26,6 +26,7 @@ class UploadSecurity
|
||||
category_logo
|
||||
category_background
|
||||
group_flair
|
||||
badge_image
|
||||
]
|
||||
|
||||
def self.register_custom_public_type(type)
|
||||
|
Reference in New Issue
Block a user