add special handling for download URLs with '/'

git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3226 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2009-02-13 06:51:00 +00:00
parent af031fa585
commit bd66ed2ff4

View file

@ -99,7 +99,7 @@ class ItemView(BaseView):
break
else:
extension = '.' + extensions[0]
title = self.title.encode('UTF-8')
title = self.title.encode('UTF-8').replace('/', '|')
return '%s/d%s/%s%s' % (baseUrl, urlInfo.path, title, extension)
@property