We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Regex should read ^[a-zA-Z0-9._-]+$
^[a-zA-Z0-9._-]+$
Right now that character class includes .-_ which permits . (0x2e) through _ (0x95), which is most printable ASCII characters.
.-_
.
_
But does not include - (0x2d) which we meant to include.
-
Need to fix this instance, and anywhere else the same mistake has been made.
https://github.com/Juniper/terraform-provider-apstra/blob/2b696be62d9198b77c90daba4bbcfdbcac1042b0/apstra/freeform/resource.go#L139C1-L140C1
The text was updated successfully, but these errors were encountered:
Merge pull request #958 from Juniper/955-validation-regex-malformed
ef7ddd1
Bug #955: Centralize regexes used in attribute validation
Successfully merging a pull request may close this issue.
Regex should read
^[a-zA-Z0-9._-]+$
Right now that character class includes
.-_
which permits.
(0x2e) through_
(0x95), which is most printable ASCII characters.But does not include
-
(0x2d) which we meant to include.Need to fix this instance, and anywhere else the same mistake has been made.
https://github.com/Juniper/terraform-provider-apstra/blob/2b696be62d9198b77c90daba4bbcfdbcac1042b0/apstra/freeform/resource.go#L139C1-L140C1
The text was updated successfully, but these errors were encountered: