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 @@ ...@@ -36,8 +36,8 @@
<tr> <tr>
<th align="right" valign="center" height=50> <th align="right" valign="center" height=50>
<a href="[% target FILTER url_quote %]?classification=__all <a href="[% target FILTER url_quote %]?classification=__all
[% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id 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 %]"> [%- IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
All</a>: All</a>:
</th> </th>
...@@ -49,9 +49,9 @@ ...@@ -49,9 +49,9 @@
[% IF classifications.$p.size > 0 %] [% IF classifications.$p.size > 0 %]
<tr> <tr>
<th align="right" valign="top"> <th align="right" valign="top">
<a href="[% target FILTER url_quote %]?classification=[% p FILTER url_quote %] <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 cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id FILTER url_quote %][% END -%]
[% IF format %]&amp;format=[% format FILTER url_quote %][% END %]"> [%- IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
[% p FILTER html %]</a>: [% p FILTER html %]</a>:
</th> </th>
......
...@@ -42,9 +42,9 @@ ...@@ -42,9 +42,9 @@
[% FOREACH p = proddesc.keys.sort %] [% FOREACH p = proddesc.keys.sort %]
<tr> <tr>
<th align="right" valign="top"> <th align="right" valign="top">
<a href="[% target %]?product=[% p FILTER url_quote %] <a href="[% target %]?product=[% p FILTER url_quote -%]
[% IF cloned_bug_id %]&amp;cloned_bug_id=[% cloned_bug_id 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 %]"> [%- IF format %]&amp;format=[% format FILTER url_quote %][% END %]">
[% p FILTER html %]</a>: [% p FILTER html %]</a>:
</th> </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