Description
When unzipping an attached zip file all files unzipped are the identical. That is one of the files in the zip is copied to each of the remaining file names in the zip.
Steps to reproduce
- zip some files
- attach the resulting zip file to a wiki page
- select the unzip option displayed on the attachments for your wiki page
- note that all the unzipped file sizes are the same
Example
Details
MoinMoin Version |
1.5.0 |
OS and Version |
Linux 2.6.9 |
Python Version |
2.3.4 |
Server Setup |
|
Server Details |
|
Workaround
Upload files individually.
Edit AttachFile.py:
- for (oirgname, finalname) in namelist.iteritems(): + for (origname, finalname) in namelist.iteritems():
Discussion
Plan
- Priority:
- Assigned to:
Status: Thanks for reporting, small typo was fixed in moin--main--1.5--patch-377