Package com.atlassian.jira.jql.validator
Class WildcardCountValidator
java.lang.Object
com.atlassian.jira.jql.validator.WildcardCountValidator
Limits the number of wildcards in the operand.
Prevents bad RegExp backtracking, resulting in threads using 100% CPU, when using lots of wildcards in versions queries.
- Since:
- v8.12
- See Also:
-
AbstractVersionValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MessageSet
validate
(ApplicationUser searcher, TerminalClause terminalClause)
-
Constructor Details
-
WildcardCountValidator
-
-
Method Details
-
validate
@Nonnull protected MessageSet validate(ApplicationUser searcher, @Nonnull TerminalClause terminalClause)
-