]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 355158: Bad filtering of bug list names - Patch by Frédéric Buclin <LpSolit@gmail...
authorlpsolit%gmail.com <>
Tue, 3 Oct 2006 06:23:50 +0000 (06:23 +0000)
committerlpsolit%gmail.com <>
Tue, 3 Oct 2006 06:23:50 +0000 (06:23 +0000)
template/en/default/list/table.html.tmpl

index 7ef53058a04ff046cfdcc509bf4943742723fb4b..8d983dccef6ed05ee715fbb1b19b1765636ef401 100644 (file)
@@ -63,8 +63,6 @@
   }
 %]
 
-[% qorder = order FILTER url_quote IF order %]
-
 [% PROCESS bug/time.html.tmpl %]
 
 [%############################################################################%]
@@ -94,7 +92,7 @@
           <a href="buglist.cgi?
                     [% urlquerypart FILTER html %]&amp;order=bugs.bug_id
                     [%-#%]&amp;query_based_on=
-                    [% defaultsavename OR searchname FILTER html %]">ID</a>
+                    [% defaultsavename OR searchname FILTER url_quote %]">ID</a>
         [% END %]
       </th>
 
         [% column.sortalias = column.name %]
       [% END %]
       <a href="buglist.cgi?[% urlquerypart FILTER html %]&amp;order=
-        [% column.sortalias FILTER url_quote FILTER html %]
-        [% ",$qorder" FILTER html IF order %]
+        [% column.sortalias FILTER url_quote %]
+        [% ",$order" FILTER url_quote IF order %]
         [%-#%]&amp;query_based_on=
-        [% defaultsavename OR searchname FILTER html %]">
+        [% defaultsavename OR searchname FILTER url_quote %]">
           [%- abbrev.$id.title || field_descs.$id || column.title -%]</a>
     [% END %]
   </th>