]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 305807: Fix some incorrect template filtering types - Patch by GavinS <bugzilla...
authorlpsolit%gmail.com <>
Tue, 18 Oct 2005 05:06:56 +0000 (05:06 +0000)
committerlpsolit%gmail.com <>
Tue, 18 Oct 2005 05:06:56 +0000 (05:06 +0000)
template/en/default/account/prefs/saved-searches.html.tmpl
template/en/default/admin/classifications/edit.html.tmpl
template/en/default/admin/groups/deleted.html.tmpl
template/en/default/admin/groups/list.html.tmpl
template/en/default/attachment/diff-header.html.tmpl
template/en/default/bug/summarize-time.html.tmpl
template/en/default/global/user-error.html.tmpl

index 8827a89ba22fe5cc3f8701a844f1203901f3e410..931b27cc114bf7d541510ec2863d1c0de505151e 100644 (file)
@@ -74,7 +74,7 @@
             Remove from <a href="editwhines.cgi">whining</a> first
           [% ELSE %]
             <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
-                     [% q.name FILTER html %]">Forget</a>
+                     [% q.name FILTER url_quote %]">Forget</a>
           [% END %]
         </td>
         <td align="center">
index fba32ca30201dd93cae3e00a1da9174c3ef9bf6d..fbc3e7db59a71ccc6373233d705c3c8c9b1f9bc9 100644 (file)
@@ -43,7 +43,7 @@
                 <th align=right valign=top>[% product.name FILTER html %]</th>
                 <td valign=top>
                   [% IF product.description %]
-                    [% product.description FILTER html %]
+                    [% product.description FILTER none %]
                   [% ELSE %]
                     <font color="red">description missing</font>
                   [% END %]
index fc91190cb64a175ec28733563be63571c0e07476..2a5c2f870d0688b646a158a962792d943261f599 100644 (file)
@@ -42,7 +42,7 @@
   </p>
 
   <p>
-    <a href="editgroups.cgi?action=del&amp;group=[% gid FILTER html %]">View</a>
+    <a href="editgroups.cgi?action=del&amp;group=[% gid FILTER url_quote %]">View</a>
     the list of which records are affected.
   </p>
 [% ELSE %]
index 9e6520244d29f23f622c25cab32c6589bb299a6a..6dcfcbb4492aed90005db3a4366fddd54b150770 100644 (file)
@@ -67,9 +67,9 @@
       </td>
 
       <td align="center" valign="middle">
-        <a href="editgroups.cgi?action=changeform&amp;group=[% group.id FILTER html %]">Edit</a>
+        <a href="editgroups.cgi?action=changeform&amp;group=[% group.id FILTER url_quote %]">Edit</a>
         [% IF (group.isbuggroup) %]
-          | <a href="editgroups.cgi?action=del&amp;group=[% group.id FILTER html %]">Delete</a>
+          | <a href="editgroups.cgi?action=del&amp;group=[% group.id FILTER url_quote %]">Delete</a>
         [% END %]
       </td>
     </tr>
index 61d7c14ec140a8cadc319f5a4772d76e9129ed7f..d26b274efac517416e500e012764f4163ca66767 100644 (file)
@@ -243,7 +243,7 @@ tbody.file pre:empty {
   [% IF headers %]
     <a href="[% PROCESS viewurl id=attachid %]">View</a>
     | <a href="[% PROCESS editurl id=attachid %]">Edit</a>
-    | <a href="[% PROCESS diffurl id=attachid %]&amp;context=[% context FILTER html %]&amp;collapsed=[% collapsed FILTER html %]&amp;headers=[% headers FILTER html %]&amp;format=raw">Raw&nbsp;Unified</a>
+    | <a href="[% PROCESS diffurl id=attachid %]&amp;context=[% context FILTER url_quote %]&amp;collapsed=[% collapsed FILTER url_quote %]&amp;headers=[% headers FILTER url_quote %]&amp;format=raw">Raw&nbsp;Unified</a>
   [% END %]
   [% IF other_patches.size > 0 %]
     [% IF headers %] |[%END%]
@@ -287,12 +287,12 @@ tbody.file pre:empty {
   [% IF context == "patch" %]
     (<strong>Patch</strong> / 
   [% ELSE %]
-    (<a href="[% PROCESS diffurl id=attachid %]&amp;headers=[% headers FILTER html %]">Patch</a> / 
+    (<a href="[% PROCESS diffurl id=attachid %]&amp;headers=[% headers FILTER url_quote %]">Patch</a> / 
   [% END %]
   [% IF context == "file" %]
     <strong>File</strong> /
   [% ELSE %]
-    <a href="[% PROCESS diffurl id=attachid %]&amp;headers=[% headers FILTER html %]&amp;context=file">File</a> / 
+    <a href="[% PROCESS diffurl id=attachid %]&amp;headers=[% headers FILTER url_quote %]&amp;context=file">File</a> / 
   [% END %]
 
   [% IF context == "patch" || context == "file" %]
index 0bcaeaeb6bbba85add900db36a30e3e24fda40ad..c16f6d429115b2a619abc9ef9034e95142c23cf6 100644 (file)
   #%]
 
 [% BLOCK buglink %]
-    <a href="show_bug.cgi?id=[% id FILTER html %]"><b>[% terms.Bug %]&nbsp;[% id FILTER html %]</b></a>
+    <a href="show_bug.cgi?id=[% id FILTER url_quote %]"><b>[% terms.Bug %]&nbsp;[% id FILTER html %]</b></a>
 [% END %]
 
index 15c4df00af75c510778c6add5f9e0615f19af836..8082673a67836e64e87a0fd66b5bfa3ee15a5b6b 100644 (file)
   <p>  
     Alternatively, you can    
     <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
-                  [% namedcmd FILTER html %]">forget</a>
+                  [% namedcmd FILTER url_quote %]">forget</a>
                   
     [% FOREACH q = Bugzilla.user.queries %]
       [% IF q.name == namedcmd %]