Mercurial > p > roundup > code
diff share/roundup/templates/devel/html/page.html @ 5156:882fa4d9bead
issue2550795: @dispname query args in page.html search links
not valid html. Some queries with names that include spaces are not
properly url encoded/quoted. I.E. a space should be replaced with
%20. Fixes to allow a url_query method to be applied to
HTMLStringProperty to properly quote string values passed as part of
a url.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 22 Jul 2016 15:48:57 -0400 |
| parents | 602d544e3a93 |
| children | 4a157824f933 |
line wrap: on
line diff
--- a/share/roundup/templates/devel/html/page.html Fri Jul 22 15:24:00 2016 -0400 +++ b/share/roundup/templates/devel/html/page.html Fri Jul 22 15:48:57 2016 -0400 @@ -210,7 +210,7 @@ <span i18n:translate=""><b>Your Queries</b> (<a class="nomargin" href="query?@template=edit">edit</a>)</span><br/> <ul tal:repeat="qs request/user/queries"> <li> - <a tal:attributes="href string:${qs/klass}?${qs/url}&@dispname=${qs/name}" tal:content="qs/name">link</a> + <a tal:attributes="href string:${qs/klass}?${qs/url}&@dispname=${qs/name/url_quote}" tal:content="qs/name">link</a> </li> </ul> </li>
