[Pkg-anonymity-tools] [onionshare] 28/57: create the ZipFile with allowZip64=True. fixes #173

Ulrike Uhlig u-guest at moszumanska.debian.org
Tue May 19 18:18:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

u-guest pushed a commit to annotated tag 0.7
in repository onionshare.

commit e78e21ac47ae6b0f9bf80a787ad31ee3b7e61730
Author: Micah Lee <micah at micahflee.com>
Date:   Thu Feb 12 17:03:56 2015 -0800

    create the ZipFile with allowZip64=True. fixes #173
---
 onionshare/helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/onionshare/helpers.py b/onionshare/helpers.py
index 08e6af2..ce2dcf1 100644
--- a/onionshare/helpers.py
+++ b/onionshare/helpers.py
@@ -101,7 +101,7 @@ class ZipWriter(object):
         else:
             self.zip_filename = '{0}/onionshare_{1}.zip'.format(tempfile.mkdtemp(), random_string(4, 6))
 
-        self.z = zipfile.ZipFile(self.zip_filename, 'w')
+        self.z = zipfile.ZipFile(self.zip_filename, 'w', allowZip64=True)
 
     def add_file(self, filename):
         self.z.write(filename, os.path.basename(filename), zipfile.ZIP_DEFLATED)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/onionshare.git



More information about the Pkg-anonymity-tools mailing list