Skip to content
Permalink
Browse files Browse the repository at this point in the history
Merge pull request #98 from jenkinsci-cert/SECURITY-388
[SECURITY-388] Escape metacharacters in the search box
  • Loading branch information
jglick committed Jan 10, 2017
2 parents 97a61a9 + 7ae4697 commit 307ed31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions war/src/main/webapp/scripts/hudson-behavior.js
Expand Up @@ -2168,6 +2168,7 @@ function createSearchBox(searchURL) {
var ac = new YAHOO.widget.AutoComplete("search-box","search-box-completion",ds);
ac.typeAhead = false;
ac.autoHighlight = false;
ac.formatResult = ac.formatEscapedResult;

var box = $("search-box");
var sizer = $("search-box-sizer");
Expand Down

0 comments on commit 307ed31

Please sign in to comment.