Skip to content

Commit

Permalink
Merge pull request #113 from kevin-buttercoin/master
Browse files Browse the repository at this point in the history
fixed XSS vuln in searchbox
  • Loading branch information
lord committed Oct 10, 2014
2 parents 9c7ea33 + b1256f4 commit ed5fa1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/javascripts/app/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
});
highlight.call(this);
} else {
searchResults.html('<li>No Results Found for "' + this.value + '"</li>');
searchResults.html('<li></li>');
$('.search-results li').text('No Results Found for "' + this.value + '"');
}
} else {
unhighlight();
Expand Down

0 comments on commit ed5fa1b

Please sign in to comment.