Merge pull request #191 from edx/security-fix/fix-xss-in-file-upload

Fix xss while rendering file-upload
This commit is contained in:
Uzair Rasheed
2020-07-30 10:59:35 +05:00
committed by GitHub

View File

@@ -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', ''),