mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
wapi/wui: add a trailing slash to the targets of hyperlinks of children of the current directory when those targets are directories
This is intended to fix #458 '"other representations" broken in webish ui'.
This commit is contained in:
parent
7a5fc8ef8a
commit
65618ba5a2
@ -500,7 +500,7 @@ class DirectoryAsHTML(rend.Page):
|
||||
|
||||
elif IDirectoryNode.providedBy(target):
|
||||
# directory
|
||||
uri_link = "/uri/" + urllib.quote(target.get_uri())
|
||||
uri_link = "/uri/" + urllib.quote(target.get_uri()) + "/"
|
||||
ctx.fillSlots("filename",
|
||||
T.a(href=uri_link)[html.escape(name)])
|
||||
if target.is_readonly():
|
||||
|
Loading…
x
Reference in New Issue
Block a user