How is AntiSamy configured?

Issue

  • We configured AntiSamy to santize Web Content articles.
  • We would like to understand how AntiSamy works and what parts are expected to be removed in Web Content articles.

Environment

  • DXP 7.0+

Resolution

In the article How to configure validation directives in AntiSamy, you can find the following:

AntiSamy validation directives are defined in the file

/META-INF/resources/sanitizer-configuration.xml

The sanitizer-configuration.xml can be found on GitHub. So please check the configuration, it should tell you more details about what gets sanitized.

A way to customize AntiSamy: example.

Additional Information

 

 

Este artigo foi útil?
Utilizadores que acharam útil: 0 de 0