]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 275939: Classification templates use wrong filtering in URLs; patch...
authorjocuri%softhome.net <>
Mon, 27 Dec 2004 17:58:29 +0000 (17:58 +0000)
committerjocuri%softhome.net <>
Mon, 27 Dec 2004 17:58:29 +0000 (17:58 +0000)
template/en/default/admin/classifications/edit.html.tmpl
template/en/default/admin/classifications/new.html.tmpl
template/en/default/admin/classifications/select.html.tmpl

index 6c58836d75faebe30e84f76070631b17f8fd315c..fba32ca30201dd93cae3e00a1da9174c3ef9bf6d 100644 (file)
@@ -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>
index c8046b898fdb1f10c4da44a452c8c83c900f4435..ba62e5d65728af2369aba8d6d1912bab30fd6d1c 100644 (file)
@@ -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 %] 
index 0c0d3d392a8fd8b945defc641646c52433667ad1..3cfa3fcaaaba3ea313f1e5490f1ea0eb66556b50 100644 (file)
@@ -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 %]
       [% 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 %]