Add domain name validation to Go Connector #923
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Add regex to validate domain name used is in proper format.
Similar to how we validate an instance connection name:
cloud-sql-go-connector/instance/conn_name.go
Lines 26 to 29 in 5ae88ea
This will allow better error handling as there will be a different error for not being able
to resolve the DNS vs domain name being improperly formatted etc.
The text was updated successfully, but these errors were encountered: