Detect and prevent image bombs, max. processable dimension 4096^2 (#7229)
This commit is contained in:
@ -40,6 +40,8 @@ class CustomEmoji < ApplicationRecord
|
||||
|
||||
remotable_attachment :image, LIMIT
|
||||
|
||||
include Attachmentable
|
||||
|
||||
def local?
|
||||
domain.nil?
|
||||
end
|
||||
|
Reference in New Issue
Block a user