Commit 58d63b13 authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

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
parent a0d0ee27
......@@ -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>
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment