diff options
author | jocuri%softhome.net <> | 2004-12-27 18:58:29 +0100 |
---|---|---|
committer | jocuri%softhome.net <> | 2004-12-27 18:58:29 +0100 |
commit | 77685016dc35f13c83d11a43a0c2a22d6df91af4 (patch) | |
tree | 2773a902d2fa6237c8b9d42e66ee321527e82b30 /template/en/default | |
parent | ccab8debf48788d950021bad75da93753f1a42c1 (diff) | |
download | bugzilla-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/default')
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&classification=[% classification FILTER html %]">add</a> products to this new classification, +<a href="editproducts.cgi?action=add&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&classification=[% cl.classification FILTER html %]"><b>[% cl.classification FILTER html %]</b></a></td> + <td valign="top"><a href="editclassifications.cgi?action=edit&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&classification=[% cl.classification FILTER html %]">reclassify ([% cl.total FILTER html %])</a></td> + <td valign="top"><a href="editclassifications.cgi?action=reclassify&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"> </td> [% ELSE %] - <td valign="top"><a href="editclassifications.cgi?action=del&classification=[% cl.classification FILTER html %]">delete</a></td> + <td valign="top"><a href="editclassifications.cgi?action=del&classification=[% cl.classification FILTER url_quote %]">delete</a></td> [% END %] </tr> [% END %] |