Skip to content

Commit

Permalink
fix(empty): query should be escaped (self-XSS) (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
redox authored and maxiloc committed Sep 15, 2016
1 parent e351ba8 commit 3aed41b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const templates = {
<div class="${suggestionPrefix}--content ${suggestionPrefix}--no-results">
<div class="${suggestionPrefix}--title">
<div class="${suggestionPrefix}--text">
No results found for query <b>"{{{query}}}"</b>
No results found for query <b>"{{query}}"</b>
</div>
</div>
</div>
Expand Down

0 comments on commit 3aed41b

Please sign in to comment.