summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorjocuri%softhome.net <>2004-12-27 18:58:29 +0100
committerjocuri%softhome.net <>2004-12-27 18:58:29 +0100
commit77685016dc35f13c83d11a43a0c2a22d6df91af4 (patch)
tree2773a902d2fa6237c8b9d42e66ee321527e82b30 /template/en
parentccab8debf48788d950021bad75da93753f1a42c1 (diff)
downloadbugzilla-77685016dc35f13c83d11a43a0c2a22d6df91af4.tar.gz
bugzilla-77685016dc35f13c83d11a43a0c2a22d6df91af4.tar.xz
Patch for bug 275939: Classification templates use wrong filtering in URLs; patch by GavinS <bugzilla@chimpychompy.org>, r=vladd, a=justdave.
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/admin/classifications/edit.html.tmpl2
-rw-r--r--template/en/default/admin/classifications/new.html.tmpl2
-rw-r--r--template/en/default/admin/classifications/select.html.tmpl6
3 files changed, 5 insertions, 5 deletions
diff --git a/template/en/default/admin/classifications/edit.html.tmpl b/template/en/default/admin/classifications/edit.html.tmpl
index 6c58836d7..fba32ca30 100644
--- a/template/en/default/admin/classifications/edit.html.tmpl
+++ b/template/en/default/admin/classifications/edit.html.tmpl
@@ -34,7 +34,7 @@
<td><textarea rows=4 cols=64 name="description">[% description %]</textarea></TD>
</tr>
<tr valign=top>
- <th align="right"><a href="editproducts.cgi?classification=[% classification FILTER html %]">Edit products</a></th>
+ <th align="right"><a href="editproducts.cgi?classification=[% classification FILTER url_quote %]">Edit products</a></th>
<td>
[% IF products AND products.size > 0 %]
<table>
diff --git a/template/en/default/admin/classifications/new.html.tmpl b/template/en/default/admin/classifications/new.html.tmpl
index c8046b898..ba62e5d65 100644
--- a/template/en/default/admin/classifications/new.html.tmpl
+++ b/template/en/default/admin/classifications/new.html.tmpl
@@ -26,7 +26,7 @@
OK, done.
<p>Back to the <a href="./">main [% terms.bugs %] page</a>,
-<a href="editproducts.cgi?action=add&amp;classification=[% classification FILTER html %]">add</a> products to this new classification,
+<a href="editproducts.cgi?action=add&amp;classification=[% classification FILTER url_quote %]">add</a> products to this new classification,
or <a href="editclassifications.cgi"> edit</a> more classifications.
[% PROCESS global/footer.html.tmpl %]
diff --git a/template/en/default/admin/classifications/select.html.tmpl b/template/en/default/admin/classifications/select.html.tmpl
index 0c0d3d392..3cfa3fcaa 100644
--- a/template/en/default/admin/classifications/select.html.tmpl
+++ b/template/en/default/admin/classifications/select.html.tmpl
@@ -35,7 +35,7 @@
[% FOREACH cl = classifications %]
<tr>
- <td valign="top"><a href="editclassifications.cgi?action=edit&amp;classification=[% cl.classification FILTER html %]"><b>[% cl.classification FILTER html %]</b></a></td>
+ <td valign="top"><a href="editclassifications.cgi?action=edit&amp;classification=[% cl.classification FILTER url_quote %]"><b>[% cl.classification FILTER html %]</b></a></td>
<td valign="top">
[% IF cl.description %]
[% cl.description %]
@@ -46,14 +46,14 @@
[% IF (cl.id == 1) %]
<td valign="top">[% cl.total FILTER html %]</td>
[% ELSE %]
- <td valign="top"><a href="editclassifications.cgi?action=reclassify&amp;classification=[% cl.classification FILTER html %]">reclassify ([% cl.total FILTER html %])</a></td>
+ <td valign="top"><a href="editclassifications.cgi?action=reclassify&amp;classification=[% cl.classification FILTER url_quote %]">reclassify ([% cl.total FILTER html %])</a></td>
[% END %]
[%# don't allow user to delete the default id. %]
[% IF (cl.id == 1) %]
<td valign="top">&nbsp;</td>
[% ELSE %]
- <td valign="top"><a href="editclassifications.cgi?action=del&amp;classification=[% cl.classification FILTER html %]">delete</a></td>
+ <td valign="top"><a href="editclassifications.cgi?action=del&amp;classification=[% cl.classification FILTER url_quote %]">delete</a></td>
[% END %]
</tr>
[% END %]