Allow for escape spaces in NewRR
Fix omission in NewRR where the parsing does not allow for escaped spaces (unless \032 was used).
This commit is contained in:
parent
9b8e8578e4
commit
792fd9743e
|
@ -545,6 +545,11 @@ func TestParseBackslash(t *testing.T) {
|
|||
} else {
|
||||
t.Logf("Parsed %s\n", r.String())
|
||||
}
|
||||
if r, e := NewRR(`m\ @\ iek.nl. IN 3600 A 127.0.0.1`); e != nil {
|
||||
t.Fatalf("Could not create RR with \\ and \\@ in it")
|
||||
} else {
|
||||
t.Logf("Parsed %s\n", r.String())
|
||||
}
|
||||
}
|
||||
|
||||
func TestILNP(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue