3738: ftp url can lead to NarrativeWeb crash (typo)

svn: r14871
This commit is contained in:
Jérôme Rapinat 2010-03-20 04:18:09 +00:00
parent 5f4700674e
commit a521a5721a

View File

@ -1443,7 +1443,7 @@ class BasePage(object):
if not uri.startswith("ftp://"):
list += Html("a", descr, href = 'ftp://%s' % uri)
else:
list += Html("a", drscr, href = "%s" % uri)
list += Html("a", descr, href = "%s" % uri)
# custom type
else: