Fix export of large user archives on 4.4 by enabling Zip64 (#35850)
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user