summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-02-26 02:39:52 +0100
committertravis%sedsystems.ca <>2005-02-26 02:39:52 +0100
commit58d63b1333c16f709694b8013c492a04cf169c18 (patch)
tree4e9a2e00082131fb47611bb64c5c2ca3eee13783 /template
parenta0d0ee270e7723f335945ec1ce09dd8efa65ff89 (diff)
downloadbugzilla-58d63b1333c16f709694b8013c492a04cf169c18.tar.gz
bugzilla-58d63b1333c16f709694b8013c492a04cf169c18.tar.xz
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
Diffstat (limited to 'template')
-rw-r--r--template/en/default/global/choose-classification.html.tmpl10
-rw-r--r--template/en/default/global/choose-product.html.tmpl6
2 files changed, 8 insertions, 8 deletions
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>