Interface IXSSSanitizer

All Known Implementing Classes:
OwaspXSSSanitizer

public interface IXSSSanitizer
This Interface provides methods for XSS sanitizer
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    init config
    sanitize(String strSource)
    sanitize the HTML code (remove XSS risks)
  • Method Details

    • sanitize

      String sanitize(String strSource)
      sanitize the HTML code (remove XSS risks)
      Parameters:
      strSource - The input string to clean
      Returns:
      The cleaned string
    • init

      default void init()
      init config