Skip to content

Commit

Permalink
Update src/plugins/console/public/application/containers/editor/legac…
Browse files Browse the repository at this point in the history
…y/console_editor/editor.tsx

Co-Authored-By: Luke Elmers <lukeelmers@gmail.com>
  • Loading branch information
alexwizp and lukeelmers authored Feb 11, 2020
1 parent fc49fee commit 293a121
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function EditorUI({ initialTextValue }: EditorProps) {
if (/^https?:\/\//.test(url)) {
const loadFrom: Record<string, any> = {
url,
// Having dataType here i\s required as it doesn't allow jQuery to `eval` content
// Having dataType here is required as it doesn't allow jQuery to `eval` content
// coming from the external source thereby preventing XSS attack.
dataType: 'text',
kbnXsrfToken: false,
Expand Down

0 comments on commit 293a121

Please sign in to comment.