Properly remove tIME chunk from PNG uploads (#27111)
This commit is contained in:
parent
530f48610d
commit
bd810391d6
7 changed files with 7 additions and 7 deletions
|
@ -39,7 +39,7 @@ class CustomEmoji < ApplicationRecord
|
|||
|
||||
has_one :local_counterpart, -> { where(domain: nil) }, class_name: 'CustomEmoji', primary_key: :shortcode, foreign_key: :shortcode, inverse_of: false
|
||||
|
||||
has_attached_file :image, styles: { static: { format: 'png', convert_options: '-coalesce +profile "!icc,*" +set modify-date +set create-date' } }, validate_media_type: false
|
||||
has_attached_file :image, styles: { static: { format: 'png', convert_options: '-coalesce +profile "!icc,*" +set date:modify +set date:create +set date:timestamp' } }, validate_media_type: false
|
||||
|
||||
before_validation :downcase_domain
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue