Skip to content

Commit

Permalink
XSS in select2
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Mar 6, 2013
1 parent 10aeea5 commit a110a98
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/sentry/static/sentry/scripts/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@
var results = [];
$(data.results).each(function(_, val){
results.push({
id: val,
text: val
id: app.utils.escape(val),
text: app.utils.escape(val)
});
});
return {results: results};
Expand Down

0 comments on commit a110a98

Please sign in to comment.