railo.runtime.functions.owasp
Class ESAPIEncode
java.lang.Object
railo.runtime.functions.owasp.ESAPIEncode
- All Implemented Interfaces:
- Serializable, Function
public class ESAPIEncode
- extends Object
- implements Function
- See Also:
- Serialized Form
ENC_BASE64
public static final short ENC_BASE64
- See Also:
- Constant Field Values
ENC_CSS
public static final short ENC_CSS
- See Also:
- Constant Field Values
ENC_DN
public static final short ENC_DN
- See Also:
- Constant Field Values
ENC_HTML
public static final short ENC_HTML
- See Also:
- Constant Field Values
ENC_HTML_ATTR
public static final short ENC_HTML_ATTR
- See Also:
- Constant Field Values
ENC_JAVA_SCRIPT
public static final short ENC_JAVA_SCRIPT
- See Also:
- Constant Field Values
ENC_LDAP
public static final short ENC_LDAP
- See Also:
- Constant Field Values
ENC_OS
public static final short ENC_OS
- See Also:
- Constant Field Values
ENC_SQl
public static final short ENC_SQl
- See Also:
- Constant Field Values
ENC_URL
public static final short ENC_URL
- See Also:
- Constant Field Values
ENC_VB_SCRIPT
public static final short ENC_VB_SCRIPT
- See Also:
- Constant Field Values
ENC_XML
public static final short ENC_XML
- See Also:
- Constant Field Values
ENC_XML_ATTR
public static final short ENC_XML_ATTR
- See Also:
- Constant Field Values
ENC_XPATH
public static final short ENC_XPATH
- See Also:
- Constant Field Values
ESAPIEncode
public ESAPIEncode()
encode
public static String encode(String item,
short encFor)
throws PageException
- Throws:
PageException
call
public static String call(PageContext pc,
String strEncodeFor,
String value)
throws PageException
- Throws:
PageException
canonicalize
public static String canonicalize(String input,
boolean restrictMultiple,
boolean restrictMixed)
Copyright © 2012 Railo