Update deps

This commit is contained in:
Frank Denis 2020-07-07 14:12:02 +02:00
parent 29c2b76edd
commit 45b915882a
32 changed files with 329 additions and 273 deletions

15
vendor/github.com/miekg/dns/msg.go generated vendored
View file

@ -398,17 +398,12 @@ Loop:
return "", lenmsg, ErrLongDomain
}
for _, b := range msg[off : off+c] {
switch b {
case '.', '(', ')', ';', ' ', '@':
fallthrough
case '"', '\\':
if isDomainNameLabelSpecial(b) {
s = append(s, '\\', b)
default:
if b < ' ' || b > '~' { // unprintable, use \DDD
s = append(s, escapeByte(b)...)
} else {
s = append(s, b)
}
} else if b < ' ' || b > '~' {
s = append(s, escapeByte(b)...)
} else {
s = append(s, b)
}
}
s = append(s, '.')