[tahoe-lafs-trac-stream] [tahoe-lafs] #1143: Double Encoding in HTML in File Names in WUI
tahoe-lafs
trac at tahoe-lafs.org
Tue Oct 16 12:43:33 UTC 2012
#1143: Double Encoding in HTML in File Names in WUI
-----------------------------------+---------------------------
Reporter: chrisp | Owner: davidsarah
Type: defect | Status: assigned
Priority: major | Milestone: 1.10.0
Component: code-frontend-web | Version: 1.7.1
Resolution: | Keywords: easy wui html
Launchpad Bug: |
-----------------------------------+---------------------------
Comment (by mk.fg):
David-Sarah was right, as strings passed as stan in Nevow are
automatically escaped, unless raw() marker is used.
Nevow uses it's own escapeToXML method to do that though, which leaves
single/double quotes intact (unless string is used as an attribute), so it
doesn't match twisted.web.html.escape() 1-to-1, but I think it should be
okay, as it doesn't affect rendering.
Fixed now in [https://github.com/mk-fg/tahoe-
lafs/tree/1143_double_encoding_html_filenames
1143_double_encoding_html_filenames branch] (non-official repo),
[https://github.com/tahoe-lafs/tahoe-lafs/pull/16 github pull request 16].
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1143#comment:5>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list