definition.yml 834 Bytes
Newer Older
1 2 3 4
key: htmlSecurity
title: Security
description: Filter and strips potentially dangerous content
author: requarks.io
5
icon: mdi-fire
6 7
enabledDefault: true
dependsOn: htmlCore
8
step: post
9
order: 99999
10
props:
11
  safeHTML:
12
    type: Boolean
13 14 15
    title: Sanitize HTML
    default: true
    hint: Sanitize HTML from unsafe attributes and tags that could lead to XSS attacks
16
    order: 1
17 18 19 20 21 22
  allowDrawIoUnsafe:
    type: Boolean
    title: Allow Draw.io Unsafe Elements
    default: true
    hint: Draw.io diagrams may introduce some elements that are usually filtered. Turning off this option may cause some diagrams to be completely removed during the sanitization process.
    order: 2
23 24 25 26 27
  allowIFrames:
    type: Boolean
    title: Allow iframes
    default: false
    hint: iframes will not be stripped if enabled. (Not recommended)
28
    order: 3