mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 11:16:24 +00:00
web/directory.py: really really fix #553. Unfortunately it's tricky to simulate the behavior of a brower's relative-url handling in a unit test.
This commit is contained in:
parent
db7ad6da12
commit
735b3493f1
@ -558,8 +558,7 @@ class DirectoryAsHTML(rend.Page):
|
||||
ctx.fillSlots("size", "-")
|
||||
info_link = "%s/uri/%s/?t=info" % (root, quoted_uri)
|
||||
|
||||
moreinfourl = "%s/uri/%s?t=info" % (root, quoted_uri)
|
||||
ctx.fillSlots("info", T.a(href=moreinfourl)["More Info"])
|
||||
ctx.fillSlots("info", T.a(href=info_link)["More Info"])
|
||||
|
||||
return ctx.tag
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user