Skip to content

Commit

Permalink
fix(dropdown): sanitize initial values to prevent xss on firefox & ie
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de authored and Sean committed Aug 23, 2019
1 parent e5468c7 commit f7c24ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -1865,7 +1865,7 @@ $.fn.dropdown = function(parameters) {
}
return ( !module.has.selectInput() && module.is.multiple() )
? (typeof value == 'string') // delimited string
? value.split(settings.delimiter)
? module.escape.htmlEntities(value).split(settings.delimiter)
: ''
: value
;
Expand Down

0 comments on commit f7c24ac

Please sign in to comment.