mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-12-26 09:42:18 +08:00
fixup!
This commit is contained in:
parent
46707722f6
commit
9228c039fe
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ func checkTarget(target string) error {
|
|||
if len(target) < 1 {
|
||||
return fmt.Errorf("empty target")
|
||||
}
|
||||
if strings.ContainsAny(target, `'" +,|!£$%&/()=?^*ç°§;:_<>[]()@`) {
|
||||
if strings.ContainsAny(target, `'" +,|!£$%&/()=?^*ç°§;:<>[]()@`) {
|
||||
return errors.Errorf("target (%v) includes invalid char", target)
|
||||
}
|
||||
// If it containts a ".", it must end in a ".".
|
||||
|
|
Loading…
Reference in a new issue