Class TableAndFieldNameValidator
java.lang.Object
com.atlassian.confluence.impl.backuprestore.helpers.TableAndFieldNameValidator
Validates table and field names for illegal characters.
- Since:
- 7.20.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
checkNameDoesNotHaveSqlInjections
(String tableOrFieldName) Checks that the SQL does not have any SQL injections.
-
Field Details
-
TABLE_OR_FIELD_NAME_PATTERN
-
-
Constructor Details
-
TableAndFieldNameValidator
public TableAndFieldNameValidator()
-
-
Method Details
-
checkNameDoesNotHaveSqlInjections
Checks that the SQL does not have any SQL injections.- Returns:
- sql
-