Escape search string and table names in database search results page
Thanks to Jon Caz 1 for reporting the issue Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
parent
439185c612
commit
e25b91acfd
@ -3,7 +3,7 @@
|
||||
{{ 'Search results for "<em>%s</em>" %s:'|format(
|
||||
criteria_search_string,
|
||||
search_type_description
|
||||
)|raw }}
|
||||
) }}
|
||||
</caption>
|
||||
{% for row in rows %}
|
||||
<tr class="noclick">
|
||||
@ -15,7 +15,7 @@
|
||||
%1$s matches in <strong>%2$s</strong>
|
||||
{% endtrans %}
|
||||
{% endset %}
|
||||
{{ result_message|format(row.result_count, row.table)|raw }}
|
||||
{{ result_message|format(row.result_count, row.table) }}
|
||||
</td>
|
||||
{% if row.result_count > 0 %}
|
||||
{% set url_params = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user