projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a5fc8e
)
wapi/wui: add a trailing slash to the targets of hyperlinks of children of the curren...
author
Zooko O'Whielacronx
<zooko@zooko.com>
Wed, 11 Jun 2008 02:59:38 +0000
(19:59 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Wed, 11 Jun 2008 02:59:38 +0000
(19:59 -0700)
This is intended to fix #458 '"other representations" broken in webish ui'.
src/allmydata/web/directory.py
patch
|
blob
|
history
diff --git
a/src/allmydata/web/directory.py
b/src/allmydata/web/directory.py
index f0218c470c5c1568c0d5a8a0a148b32d19149641..d9273e073a45d2036f57beadb3248e9939cf34f7 100644
(file)
--- a/
src/allmydata/web/directory.py
+++ b/
src/allmydata/web/directory.py
@@
-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():