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

  1. Setup a desktop edition of Moin at cygwin
  2. Enable remote backup for some account
  3. Fetch the backup tar.gz with http://localhost:8080/?action=backup

Example

Component selection

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


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/TarfileCheckAbsolutePathFailed (last edited 2008-08-30 16:12:40 by ThomasWaldmann)