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:
Stanley Lieber 2024-09-20 20:17:26 -04:00
parent 1a0337f684
commit bc939071cf

View file

@ -6,7 +6,7 @@
% if(! ~ $"post_arg_wman_search '') {
% if(~ $"wman_search_results '') {
No matches found for <i>'%($post_arg_wman_search%)'</i>.
No matches found for <i>'%($s%)'</i>.
% }
% if not {
<ul>