Commit 545a42a0 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 232830 - use url_quote instead of html filtering to make sure we can delete…

Bug 232830 - use url_quote instead of html filtering to make sure we can delete queries which contain a "+". Patch by gerv; r,a=myk.
parent a5bedc9a
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
<td valign="middle" nowrap="nowrap"> <td valign="middle" nowrap="nowrap">
| |
<a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd= <a href="buglist.cgi?cmdtype=dorem&amp;remaction=forget&amp;namedcmd=
[% searchname FILTER html %]">Forget&nbsp;Search&nbsp;' [% searchname FILTER url_quote %]">Forget&nbsp;Search&nbsp;'
[% searchname FILTER html %]'</a> [% searchname FILTER html %]'</a>
</td> </td>
[% ELSE %] [% ELSE %]
......
...@@ -207,9 +207,9 @@ function subcatSelected() { ...@@ -207,9 +207,9 @@ function subcatSelected() {
[% series.series_id %]">Edit</a> | [% series.series_id %]">Edit</a> |
[% END %] [% END %]
<a href="buglist.cgi?cmdtype=dorem&amp;namedcmd= <a href="buglist.cgi?cmdtype=dorem&amp;namedcmd=
[% series.category FILTER html %]%20/%20 [% series.category FILTER url_quote %]%20/%20
[% series.subcategory FILTER html %]%20/%20 [% series.subcategory FILTER url_quote %]%20/%20
[% series.name FILTER html -%]&amp;series_id= [% series.name FILTER url_quote -%]&amp;series_id=
[% series.series_id %]&amp;remaction=runseries">Run Search</a> [% series.series_id %]&amp;remaction=runseries">Run Search</a>
</td> </td>
</tr> </tr>
......
...@@ -54,9 +54,9 @@ ...@@ -54,9 +54,9 @@
<a href="query.cgi?[% default.query FILTER html%]">View <a href="query.cgi?[% default.query FILTER html%]">View
series search parameters</a> | series search parameters</a> |
<a href="buglist.cgi?cmdtype=dorem&amp;namedcmd= <a href="buglist.cgi?cmdtype=dorem&amp;namedcmd=
[% default.category FILTER html %]- [% default.category FILTER url_quote %]-
[% default.subcategory FILTER html %]- [% default.subcategory FILTER url_quote %]-
[% default.name FILTER html %]&amp;remaction=runseries&amp;series_id= [% default.name FILTER url_quote %]&amp;remaction=runseries&amp;series_id=
[% default.series_id %]">Run series search</a> [% default.series_id %]">Run series search</a>
</p> </p>
......
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