apps/wman/search.tpl: we already filter user input. avoid xss by printing filtered user input instead of unfiltered user input on error.
This commit is contained in:
parent
1a0337f684
commit
bc939071cf
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
% if(! ~ $"post_arg_wman_search '') {
|
% if(! ~ $"post_arg_wman_search '') {
|
||||||
% if(~ $"wman_search_results '') {
|
% if(~ $"wman_search_results '') {
|
||||||
No matches found for <i>'%($post_arg_wman_search%)'</i>.
|
No matches found for <i>'%($s%)'</i>.
|
||||||
% }
|
% }
|
||||||
% if not {
|
% if not {
|
||||||
<ul>
|
<ul>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue