From 8158a81ec57503131c46b2758f48e00cf1d128f9 Mon Sep 17 00:00:00 2001
From: "lpsolit%gmail.com" <>
Date: Tue, 3 Oct 2006 06:20:00 +0000
Subject: [PATCH] =?UTF-8?q?Bug=20355158:=20Bad=20filtering=20of=20bug=20li?=
 =?UTF-8?q?st=20names=20-=20Patch=20by=20Fr=C3=A9d=C3=A9ric=20Buclin=20<Lp?=
 =?UTF-8?q?Solit@gmail.com>=20r=3Dmkanat=20a=3Dmyk?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 template/en/default/list/table.html.tmpl | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl
index 0387adafb..b025cd14a 100644
--- a/template/en/default/list/table.html.tmpl
+++ b/template/en/default/list/table.html.tmpl
@@ -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>
 
@@ -139,10 +137,10 @@
         [% 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>
-- 
2.24.1