Class XSSFilterUtil


  • public final class XSSFilterUtil
    extends java.lang.Object
    Filters given string to prevent cross-site scripting
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String filter​(java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • filter

        public static java.lang.String filter​(java.lang.String value)
        Parameters:
        value - to be sanitized
        Returns:
        sanitized content