summaryrefslogtreecommitdiffstats
path: root/template/en/default/list
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-10-08 06:18:13 +0200
committerlpsolit%gmail.com <>2007-10-08 06:18:13 +0200
commit1aec31a16bf92b1055129ff0697509df0e7663b3 (patch)
treeb6cf997e2fca511cbceafc40bed0016491c969d2 /template/en/default/list
parent393cb39fdfefff8bba165d9076723bf7048198ef (diff)
downloadbugzilla-1aec31a16bf92b1055129ff0697509df0e7663b3.tar.gz
bugzilla-1aec31a16bf92b1055129ff0697509df0e7663b3.tar.xz
Bug 264785: config.rdf needs XML filtering of output to generate valid HTML (Template-Toolkit 2.15 and older do not escape all reserved characters correctly) - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template/en/default/list')
-rw-r--r--template/en/default/list/list.ics.tmpl4
-rw-r--r--template/en/default/list/quips.html.tmpl6
2 files changed, 5 insertions, 5 deletions
diff --git a/template/en/default/list/list.ics.tmpl b/template/en/default/list/list.ics.tmpl
index 02444472a..f8953d996 100644
--- a/template/en/default/list/list.ics.tmpl
+++ b/template/en/default/list/list.ics.tmpl
@@ -57,11 +57,11 @@ END:VCALENDAR
[% END %]
[% BLOCK ics_uid %]
- [% "${bug_id}@${base_url}" FILTER uri FILTER ics('UID') %]
+ [% "${bug_id}@${base_url}" FILTER url_quote FILTER ics('UID') %]
[% END %]
[% BLOCK ics_url %]
- [% "${base_url}show_bug.cgi?id=${bug_id}" FILTER uri FILTER ics('URL;VALUE=URI') %]
+ [% "${base_url}show_bug.cgi?id=${bug_id}" FILTER url_quote FILTER ics('URL;VALUE=URI') %]
[% END %]
[% BLOCK ics_dtstart %]
diff --git a/template/en/default/list/quips.html.tmpl b/template/en/default/list/quips.html.tmpl
index e730e7cce..14cecb26e 100644
--- a/template/en/default/list/quips.html.tmpl
+++ b/template/en/default/list/quips.html.tmpl
@@ -119,13 +119,13 @@
[% "Unknown" IF NOT users.$userid %]
</td>
<td>
- <a href="quips.cgi?action=delete&amp;quipid=[% quipid FILTER uri%]">
+ <a href="quips.cgi?action=delete&amp;quipid=[% quipid FILTER url_quote %]">
Delete
</a>
</td>
<td>
- <input type="checkbox" name="quipid_[% quipid FILTER uri%]"
- id="quipid_[% quipid FILTER uri%]"
+ <input type="checkbox" name="quipid_[% quipid FILTER html %]"
+ id="quipid_[% quipid FILTER html %]"
[%- ' checked="checked"' IF quips.$quipid.approved %]>
</td>
</tr>