Description
When I do a remote backup action with Moin 1.7.1 at Python 2.5 (cygwin), Tarfile class throw a exception when it check path name
Steps to reproduce
- Setup a desktop edition of Moin at cygwin
- Enable remote backup for some account
Fetch the backup tar.gz with http://localhost:8080/?action=backup
Example
Component selection
- backup
Details
MoinMoin Version |
1.7.1 |
OS and Version |
Windows 2003 with cygwin |
Python Version |
2.5.1 |
Server Setup |
Desktop |
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
backup.py use tarfile through fileobj, but it's init function check name parameter with
<tarfile.py : 1056>
1 self.name = os.path.abspath(name)
Discussion
Plan
- Priority:
- Assigned to:
Status: Fixed by http://hg.moinmo.in/moin/1.7/rev/49f330e9831a by backporting a fix from Python 2.5 SVN to moin's private copy of tarfile in MoinMoin.support.tarfile (we have this due to misc. other bugs in stdlib tarfile in older Pythons).