From 9c69497f8c742c0f9740d3876114b83a3dbaec3b Mon Sep 17 00:00:00 2001 From: Christophe Dumez <christophe@nexedi.com> Date: Mon, 28 Aug 2006 12:16:21 +0000 Subject: [PATCH] - Fixed security hole in ERP5Subversion git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9499 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Subversion/Tool/SubversionTool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Subversion/Tool/SubversionTool.py b/product/ERP5Subversion/Tool/SubversionTool.py index 43586bf8ef..8798f008b1 100644 --- a/product/ERP5Subversion/Tool/SubversionTool.py +++ b/product/ERP5Subversion/Tool/SubversionTool.py @@ -618,7 +618,7 @@ class SubversionTool(BaseTool, UniqueObject, Folder): def fileHTML(self, business_template, file_path): """ Display a file content in HTML with syntax highlighting """ - file_path = self.relativeToAbsolute(file_path, business_template) + file_path = self._getWorkingPath(self.relativeToAbsolute(file_path, business_template)) if os.path.exists(file_path): if os.path.isdir(file_path): text = "<span style='font-weight: bold; color: black;'>"+file_path+"</span><hr/>" -- GitLab