diff --git a/product/ERP5/Tool/ContributionOpener.py b/product/ERP5/Tool/ContributionOpener.py index d802ddebd5e6e474ae13ebd7e479f28d929cdf44..d015993263c9e2bfd61759b96fbd8af914082099 100644 --- a/product/ERP5/Tool/ContributionOpener.py +++ b/product/ERP5/Tool/ContributionOpener.py @@ -55,8 +55,9 @@ class DirectoryFileHandler(FileHandler): file_list = dircache.listdir(localfile) s = StringIO() s.write('<html><head><base href="%s"/></head><body>' % ('file:' + file)) + s.write('<p>Directory Content:</p>') for f in file_list: - s.write('<p><a href="%s/">%s</a></p>\n' % (urllib.quote(f), f)) + s.write('<p><a href="%s">%s</a></p>\n' % (urllib.quote(f), f)) s.write('</body></html>') s.seek(0) headers = mimetools.Message(StringIO(