| Constructor and Description |
|---|
XSSHelper() |
| Modifier and Type | Method and Description |
|---|---|
static XSSUtil |
getXssUtil(Properties platformProps,
String... exceptions)
Creates and returns a
XSSUtil.If the boolean property xssProtect of the given Properties is true, a new XSSUtil
is being created. |
public static XSSUtil getXssUtil(Properties platformProps, String... exceptions)
XSSUtil.xssProtect of the given Properties is true, a new XSSUtil
is being created. The list-type property xssAllowedTags can be used to allow additional tags and
attributes. The format is:
<tag1> <attribute1a> <attribute1b>|<tag2> <attribute2a> <attribute2b>
h1|h2|a href class style|div align style
platformProps - exceptions - Copyright © 2011–2021 aiticon GmbH. All rights reserved.