Commit e244627e authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 398701: Replace |FILTER url_quote| by |FILTER uri|, including extensions/Voting

r/a=mkanat
parent 0844fe9f
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
[% IF changes.too_many_votes.size %] [% IF changes.too_many_votes.size %]
[% FOREACH detail = changes.too_many_votes %] [% FOREACH detail = changes.too_many_votes %]
&rarr;removed votes for [% terms.bug %] <a href="show_bug.cgi?id= &rarr;removed votes for [% terms.bug %] <a href="show_bug.cgi?id=
[%- detail.id FILTER url_quote %]"> [%- detail.id FILTER uri %]">
[%- detail.id FILTER html %]</a> from [% detail.name FILTER html %]<br> [%- detail.id FILTER html %]</a> from [% detail.name FILTER html %]<br>
[% END %] [% END %]
[% ELSE %] [% ELSE %]
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
[% IF changes.too_many_total_votes.size %] [% IF changes.too_many_total_votes.size %]
[% FOREACH detail = changes.too_many_total_votes %] [% FOREACH detail = changes.too_many_total_votes %]
&rarr;removed votes for [% terms.bug %] <a href="show_bug.cgi?id= &rarr;removed votes for [% terms.bug %] <a href="show_bug.cgi?id=
[%- detail.id FILTER url_quote %]"> [%- detail.id FILTER uri %]">
[%- detail.id FILTER html %]</a> from [% detail.name FILTER html %]<br> [%- detail.id FILTER html %]</a> from [% detail.name FILTER html %]<br>
[% END %] [% END %]
[% ELSE %] [% ELSE %]
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
[% IF bug.votes %] [% IF bug.votes %]
with with
<a href="page.cgi?id=voting/bug.html&amp;bug_id= <a href="page.cgi?id=voting/bug.html&amp;bug_id=
[%- bug.id FILTER url_quote %]"> [%- bug.id FILTER uri %]">
[%- bug.votes %] [%- bug.votes %]
[% IF bug.votes == 1 %] [% IF bug.votes == 1 %]
vote vote
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
[% END %]</a> [% END %]</a>
[% END %] [% END %]
(<a href="page.cgi?id=voting/user.html&amp;bug_id= (<a href="page.cgi?id=voting/user.html&amp;bug_id=
[%- bug.id FILTER url_quote %]#vote_ [%- bug.id FILTER uri %]#vote_
[%- bug.id FILTER url_quote %]">vote</a>) [%- bug.id FILTER uri %]">vote</a>)
</span> </span>
[% END %] [% END %]
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<tr> <tr>
<td> <td>
<a href="page.cgi?id=voting/user.html&amp;user_id= <a href="page.cgi?id=voting/user.html&amp;user_id=
[%- voter.id FILTER url_quote %]"> [%- voter.id FILTER uri %]">
[% voter.login_name FILTER email FILTER html %] [% voter.login_name FILTER email FILTER html %]
</a> </a>
</td> </td>
......
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<tr> <tr>
<th>[% product.name FILTER html %]</th> <th>[% product.name FILTER html %]</th>
<td colspan="2" ><a href="buglist.cgi?bug_id= <td colspan="2" ><a href="buglist.cgi?bug_id=
[%- product.bug_ids.join(",") FILTER url_quote %]">([% terms.bug %] list)</a> [%- product.bug_ids.join(",") FILTER uri %]">([% terms.bug %] list)</a>
</td> </td>
<td> <td>
[% IF product.maxperbug < product.maxvotes AND [% IF product.maxperbug < product.maxvotes AND
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
[% IF canedit %] [% IF canedit %]
<input type="submit" value="Change My Votes" id="change"> or <input type="submit" value="Change My Votes" id="change"> or
<a href="buglist.cgi?bug_id=[% all_bug_ids.join(",") FILTER url_quote %]">view all <a href="buglist.cgi?bug_id=[% all_bug_ids.join(",") FILTER uri %]">view all
as [% terms.bug %] list</a> as [% terms.bug %] list</a>
<br> <br>
<br> <br>
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
[% END %] [% END %]
and then click <b>Change My Votes</b>. and then click <b>Change My Votes</b>.
[% ELSE %] [% ELSE %]
<a href="buglist.cgi?bug_id=[% all_bug_ids.join(",") FILTER url_quote %]">View all <a href="buglist.cgi?bug_id=[% all_bug_ids.join(",") FILTER uri %]">View all
as [% terms.bug %] list</a> as [% terms.bug %] list</a>
[% END %] [% END %]
</form> </form>
......
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