github-code-scanning[bot] commented on code in PR #3428: URL: https://github.com/apache/myfaces-tobago/pull/3428#discussion_r1025158122
########## tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIPage.java: ########## @@ -100,7 +100,7 @@ // TODO: This workaround is stil needed for Mojarra // TODO: Otherwise actions in tree/sheet will not be detected if (command == null - && sourceId != null && sourceId.matches(".*:\\d+:.*")) { + && sourceId != null && sourceId.matches(".*:\\d+:.*")) { Review Comment: ## Polynomial regular expression used on uncontrolled data This [regular expression](1) that depends on a [user-provided value](2) may run slow on strings starting with ':9:' and with many repetitions of ':9:'. [Show more details](https://github.com/apache/myfaces-tobago/security/code-scanning/38) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@myfaces.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org