Package com.cksource.ckfinder.utils
Class ValidationUtils
java.lang.Object
com.cksource.ckfinder.utils.ValidationUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Detect HTML in the first KB to prevent against potential security issue.
-
Constructor Details
-
ValidationUtils
public ValidationUtils()
-
-
Method Details
-
streamContainsHtmlData
Detect HTML in the first KB to prevent against potential security issue. Returns true if file contains insecure HTML code at the beginning.- Parameters:
in
- data stream to check- Returns:
- true if detected.
- Throws:
IOException
- when io error occurs.
-