Commit 1008a611 authored by Christophe Dumez's avatar Christophe Dumez

- fixed security bug when removing temp files


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7307 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d9055461
......@@ -890,7 +890,7 @@ class SubversionTool(BaseTool, UniqueObject, Folder):
"""Remove all files and folders in list
"""
for file in list:
removeAll(self._getWorkingPath(file))
removeAll(file)
def getModifiedTree(self, bt, show_unmodified=False) :
# Remove trailing slash if it's present
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment