Merge pull request #191 from edx/security-fix/fix-xss-in-file-upload
Fix xss while rendering file-upload
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
return optionVal || default_value;
|
||||
},
|
||||
submitButton, resultNotification;
|
||||
|
||||
// xss-lint: disable=javascript-jquery-html
|
||||
this.$el.html(this.template({
|
||||
title: get_option_with_default('title', ''),
|
||||
inputLabel: get_option_with_default('inputLabel', ''),
|
||||
|
||||
Reference in New Issue
Block a user