Interface IXSSSanitizer

  • All Known Implementing Classes:
    OwaspXSSSanitizer

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

      • sanitize

        java.lang.String sanitize​(java.lang.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