mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Fix: Validate CNAME targets (check for "/") #37
This commit is contained in:
@@ -64,6 +64,10 @@ func Test_assert_valid_target(t *testing.T) {
|
||||
{"foo.bar.", false},
|
||||
{"foo.", false},
|
||||
{"foo.bar", true},
|
||||
{"foo&bar", true},
|
||||
{"foo bar", true},
|
||||
{"elb21.freshdesk.com/", true},
|
||||
{"elb21.freshdesk.com/.", true},
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
|
||||
Reference in New Issue
Block a user