]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 283424 : URL with extra space created in enter_bug.cgi when using a format
authortravis%sedsystems.ca <>
Sat, 26 Feb 2005 01:39:52 +0000 (01:39 +0000)
committertravis%sedsystems.ca <>
Sat, 26 Feb 2005 01:39:52 +0000 (01:39 +0000)
Patch by Havard Wigtil <havardw+bugzilla@pvv.org>   r=wurblzap  a=myk

template/en/default/global/choose-classification.html.tmpl
template/en/default/global/choose-product.html.tmpl

index 3bb4be3a8b4f830e2e6dd8b1bcf8ae8079d64e73..b2021f234cc595db92b2e555cb1c6a877f08f9bd 100644 (file)
@@ -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>
 
index da13ee84ff09dc74abce0566f31fa1dab35e9feb..2fdc3b1b738a022817d48c96328ec523e28702f2 100644 (file)
@@ -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>