summaryrefslogtreecommitdiffstats
path: root/template/en/default/list
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-25 03:25:49 +0200
committergerv%gerv.net <>2002-04-25 03:25:49 +0200
commite0abf5a6e9bc24ddda2b38d260859192a6bbbc3a (patch)
tree6b4474964be2195b24b879ecdbaf8b3836fe0c4b /template/en/default/list
parentc61b13b2ce5e7a980ea338df23a6dcccede84f37 (diff)
downloadbugzilla-e0abf5a6e9bc24ddda2b38d260859192a6bbbc3a.tar.gz
bugzilla-e0abf5a6e9bc24ddda2b38d260859192a6bbbc3a.tar.xz
Bug 136180 - use uri/url_quote filters correctly. Patch by ddk; 2xr=gerv.
Diffstat (limited to 'template/en/default/list')
-rw-r--r--template/en/default/list/list.html.tmpl3
-rw-r--r--template/en/default/list/table.html.tmpl6
2 files changed, 6 insertions, 3 deletions
diff --git a/template/en/default/list/list.html.tmpl b/template/en/default/list/list.html.tmpl
index 1665d7a1e..15d5fc0a0 100644
--- a/template/en/default/list/list.html.tmpl
+++ b/template/en/default/list/list.html.tmpl
@@ -25,6 +25,7 @@
[% DEFAULT title = "Bug List" %]
[% style_url = "css/buglist.css" %]
+[% qorder = order FILTER url_quote IF order %]
[%############################################################################%]
@@ -137,7 +138,7 @@
[% IF bugs.size > 1 && caneditbugs && !dotweak %]
<a href="buglist.cgi?[% urlquerypart %]
- [%- "&order=$order" FILTER uri html IF order %]&tweak=1">Change Several
+ [%- "&order=$qorder" FILTER html IF order %]&amp;tweak=1">Change Several
Bugs at Once</a>
&nbsp;&nbsp;
[% END %]
diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 2afc9bb9d..230fb0875 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -49,6 +49,8 @@
}
%]
+[% qorder = order FILTER url_quote IF order %]
+
[%############################################################################%]
[%# Table Header #%]
[%############################################################################%]
@@ -98,8 +100,8 @@
[% BLOCK columnheader %]
<th colspan="[% splitheader ? 2 : 1 %]">
<a href="buglist.cgi?[% urlquerypart %]&amp;order=
- [% column.name FILTER uri html %]
- [% ",$order" FILTER uri html IF order %]">
+ [% column.name FILTER url_quote FILTER html %]
+ [% ",$qorder" FILTER html IF order %]">
[%- abbrev.$id.title || column.title -%]</a>
</th>
[% END %]