You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently use the same validation regex for host names that we do for input names as we do CNAME data (including allowing of /). The issue is that only CNAMEs in reverse zones (e.g. zones in the form of x.x.x.in-addr.arpa. or x.x.x.x.ip6.arpa.) should be allowed to have /; forward slashes should not be allowed in forward zones.
Good candidate files for changes:
Update validations: BatchChangeValidations.scala and RecordSetValidations
Add unit tests: BatchChangeValidationsSpec.scala
Add end-to-end tests: create_batch_change_test.py
The text was updated successfully, but these errors were encountered:
mitruly
changed the title
Validate CNAME alias doesn't contain invalid data
Validate CNAME alias doesn't allow forward slashes for forward zones
Sep 27, 2019
We currently use the same validation regex for host names that we do for input names as we do CNAME data (including allowing of
/
). The issue is that only CNAMEs in reverse zones (e.g. zones in the form ofx.x.x.in-addr.arpa.
orx.x.x.x.ip6.arpa.
) should be allowed to have/
; forward slashes should not be allowed in forward zones.Good candidate files for changes:
BatchChangeValidations.scala
andRecordSetValidations
BatchChangeValidationsSpec.scala
create_batch_change_test.py
The text was updated successfully, but these errors were encountered: