Skip to content

Commit

Permalink
Update _filter_advanced.tt
Browse files Browse the repository at this point in the history
Prevent XSS attack by sanitizing the content of the textbox.
  • Loading branch information
ketra authored and sni committed Jul 1, 2024
1 parent faabeca commit d843603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/_filter_advanced.tt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ rows="5"
wrap="hard"
name="[% paneprefix %]q"[% DEFAULT disabled = 0; IF disabled %] disabled[% END %]
onfocus="initAutoCompleteQuery(this, queryCodeCompletions)"
>[% content %]</textarea>
>[% content | html %]</textarea>

0 comments on commit d843603

Please sign in to comment.