-
Notifications
You must be signed in to change notification settings - Fork 670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable FQCNs for import_playbook to have subdirs #4412
Conversation
Regarding the code analysis failing, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RE_IS_FQCN_OR_NAME = re.compile(r"^\w+((\.\w+){2,})*$")
To quote SonarQube: Make sure the regex used here, which is vulnerable to exponential runtime due to backtracking, cannot lead to denial of service.
7bc83c5
to
e117865
Compare
e117865
to
91e2b45
Compare
91e2b45
to
71f725f
Compare
71f725f
to
e837c7e
Compare
e837c7e
to
ca1e279
Compare
ca1e279
to
60aff06
Compare
60aff06
to
46f4cd6
Compare
46f4cd6
to
5ee24db
Compare
5ee24db
to
ab92e3e
Compare
ab92e3e
to
6b70a68
Compare
6b70a68
to
35e93a1
Compare
35e93a1
to
0ab25b8
Compare
f85fd4f
to
3fc7329
Compare
25f44a1
to
043ae65
Compare
043ae65
to
1d2fdc5
Compare
1d2fdc5
to
56478ba
Compare
56478ba
to
6ed5b76
Compare
The max repetitions of 100 for the RE_IS_FQCN_OR_NAME regular expression was not chosen for any particular reason other than being a sane number with more than enough overhead to account for a long fully qualified collection name (FQCN).
6ed5b76
to
fb2d239
Compare
Related to #4362.