Package tech.mgl.core.utils.security
Class MGL_SecurityUtils
java.lang.Object
tech.mgl.core.utils.security.MGL_SecurityUtils
- Author:
- www.mgl.tech
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringfilterUserInputContent(String html) 对用户输入内容进行过滤,防止xss攻击等static <T> Tstatic void
-
Constructor Details
-
MGL_SecurityUtils
public MGL_SecurityUtils()
-
-
Method Details
-
filterUserInputContent
对用户输入内容进行过滤,防止xss攻击等- Parameters:
html-- Returns:
-
filterUserInputContentT
- Throws:
Exception
-
main
-