mirror of
https://github.com/apache/superset.git
synced 2026-04-17 07:05:04 +00:00
[security] prevent XSS markup viz (#3211)
* Prevent XSS in Markup viz We protect the browser by sandboxing the user code inside an iframe * Helvetica
This commit is contained in:
committed by
GitHub
parent
bd4a4c2753
commit
0c5db55d55
@@ -76,7 +76,7 @@ export default class TextAreaControl extends React.Component {
|
||||
modalTitle={controlHeader}
|
||||
triggerNode={
|
||||
<Button bsSize="small" className="m-t-5">
|
||||
Edit <b>{this.props.language}</b> in modal
|
||||
Edit <strong>{this.props.language}</strong> in modal
|
||||
</Button>
|
||||
}
|
||||
modalBody={this.renderEditor(true)}
|
||||
|
||||
Reference in New Issue
Block a user