#4700: export files are antivirus-safe
This commit is contained in:
parent
4dd5960108
commit
ae14599245
1 changed files with 3 additions and 1 deletions
|
@ -25,7 +25,9 @@ class Export < ApplicationRecord
|
|||
file.attach(
|
||||
io: io,
|
||||
filename: filename,
|
||||
content_type: content_type
|
||||
content_type: content_type,
|
||||
# We generate the exports ourselves, so they are safe
|
||||
metadata: { virus_scan_result: ActiveStorage::VirusScanner::SAFE }
|
||||
)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue