Fix export of large user archives on 4.4 by enabling Zip64 (#35850)

pull/36006/head
Claire 3 months ago committed by GitHub
parent 5478ef9b32
commit 4ef0ce033e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -55,6 +55,7 @@ class BackupService < BaseService
def build_archive!
tmp_file = Tempfile.new(%w(archive .zip))
Zip.write_zip64_support = true
Zip::File.open(tmp_file, create: true) do |zipfile|
dump_outbox!(zipfile)
dump_media_attachments!(zipfile)

Loading…
Cancel
Save