- java.lang.Object
-
- io.github.pixee.security.HtmlEncoder
-
public final class HtmlEncoder extends java.lang.Object
This type exposes helper methods that will help defend against XSS attacks with HTML encoding.For more information on XSS: https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
encode(java.lang.String s)
Return an HTML-encoded version of the value passed in.
-