From 58d63b1333c16f709694b8013c492a04cf169c18 Mon Sep 17 00:00:00 2001
From: "travis%sedsystems.ca" <>
Date: Sat, 26 Feb 2005 01:39:52 +0000
Subject: Bug 283424 : URL with extra space created in enter_bug.cgi when using
 a format Patch by Havard Wigtil <havardw+bugzilla@pvv.org>   r=wurblzap 
 a=myk

---
 template/en/default/global/choose-classification.html.tmpl | 10 +++++-----
 template/en/default/global/choose-product.html.tmpl        |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

(limited to 'template/en')

diff --git a/template/en/default/global/choose-classification.html.tmpl b/template/en/default/global/choose-classification.html.tmpl
index 3bb4be3a8..b2021f234 100644
--- a/template/en/default/global/choose-classification.html.tmpl
+++ b/template/en/default/global/choose-classification.html.tmpl
@@ -36,8 +36,8 @@
   <tr>
     <th align="right" valign="center" height=50>
       <a href="[% target FILTER url_quote %]?classification=__all
-            [% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %] 
-            [% IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
+            [% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END -%] 
+            [%- IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
       All</a>:
     </th>
 
@@ -49,9 +49,9 @@
   [% IF classifications.$p.size > 0 %]
   <tr>
     <th align="right" valign="top">
-      <a href="[% target FILTER url_quote %]?classification=[% p FILTER url_quote %]
-            [% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %] 
-            [% IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
+      <a href="[% target FILTER url_quote %]?classification=[% p FILTER url_quote -%]
+            [%- IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END -%] 
+            [%- IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
       [% p FILTER html %]</a>:
     </th>
 
diff --git a/template/en/default/global/choose-product.html.tmpl b/template/en/default/global/choose-product.html.tmpl
index da13ee84f..2fdc3b1b7 100644
--- a/template/en/default/global/choose-product.html.tmpl
+++ b/template/en/default/global/choose-product.html.tmpl
@@ -42,9 +42,9 @@
 [% FOREACH p = proddesc.keys.sort %]
   <tr>
     <th align="right" valign="top">
-      <a href="[% target %]?product=[% p FILTER url_quote %]
-            [% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END %] 
-            [% IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
+      <a href="[% target %]?product=[% p FILTER url_quote -%]
+            [%- IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END -%] 
+            [%- IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
       [% p FILTER html %]</a>:
     </th>
 
-- 
cgit v1.2.3-24-g4f1b