[% END %]
[% IF this_bug_idx != -1 %]
- <a href="show_bug.cgi?id=[% bug_list.first %]">First</a>
- <a href="show_bug.cgi?id=[% bug_list.last %]">Last</a>
+ <a href="show_bug.cgi?id=[% bug_list.first FILTER url_quote %]">First</a>
+ <a href="show_bug.cgi?id=[% bug_list.last FILTER url_quote %]">Last</a>
[% END %]
[% IF bug.bug_id %]
[% IF this_bug_idx != -1 %]
[% IF this_bug_idx > 0 %]
[% prev_bug = this_bug_idx - 1 %]
- <a href="show_bug.cgi?id=[% bug_list.$prev_bug %]">Prev</a>
+ <a href="show_bug.cgi?id=
+ [%- bug_list.$prev_bug FILTER url_quote %]">Prev</a>
[% ELSE %]
<i><font color="#777777">Prev</font></i>
[% END %]
[% IF this_bug_idx + 1 < bug_list.size %]
[% next_bug = this_bug_idx + 1 %]
- <a href="show_bug.cgi?id=[% bug_list.$next_bug %]">Next</a>
+ <a href="show_bug.cgi?id=
+ [%- bug_list.$next_bug FILTER url_quote %]">Next</a>
[% ELSE %]
<i><font color="#777777">Next</font></i>
[% END %]
],
'global/site-navigation.html.tmpl' => [
- 'bug_list.first',
- 'bug_list.$prev_bug',
- 'bug_list.$next_bug',
- 'bug_list.last',
'bug.bug_id',
'bug.votes',
],
'" spellcheck=\"$spellcheck\"" IF spellcheck',
],
-'bug/navigate.html.tmpl' => [
- 'bug_list.first',
- 'bug_list.last',
- 'bug_list.$prev_bug',
- 'bug_list.$next_bug',
-],
-
'bug/show-multiple.html.tmpl' => [
'attachment.id',
'flag.status',
[% IF bug_list && bug_list.size > 0 %]
<link rel="Up" href="buglist.cgi?regetlastlist=1">
- <link rel="First" href="show_bug.cgi?id=[% bug_list.first %]">
- <link rel="Last" href="show_bug.cgi?id=[% bug_list.last %]">
+ <link rel="First" href="show_bug.cgi?id=
+ [%- bug_list.first FILTER url_quote %]">
+ <link rel="Last" href="show_bug.cgi?id=
+ [%- bug_list.last FILTER url_quote %]">
[% IF bug && bug.bug_id %]
[% current_bug_idx = lsearch(bug_list, bug.bug_id) %]
[% IF current_bug_idx > 0 %]
[% prev_bug = current_bug_idx - 1 %]
- <link rel="Prev" href="show_bug.cgi?id=[% bug_list.$prev_bug %]">
+ <link rel="Prev" href="show_bug.cgi?id=
+ [%- bug_list.$prev_bug FILTER url_quote %]">
[% END %]
[% IF current_bug_idx + 1 < bug_list.size %]
[% next_bug = current_bug_idx + 1 %]
- <link rel="Next" href="show_bug.cgi?id=[% bug_list.$next_bug %]">
+ <link rel="Next" href="show_bug.cgi?id=
+ [%- bug_list.$next_bug FILTER url_quote %]">
[% END %]
[% END %]