3438. [bug] Don't accept unknown data escape in quotes. [RT #32031]

Squashed commit of the following:

commit 7ad3daade513c94a1c92ee7c91c112f161d13ef4
Author: Mark Andrews <marka@isc.org>
Date:   Mon Dec 3 15:03:44 2012 +1100

    look at the second token to determine if a TXT record in of unknown format or not

commit 7df32138462646f6aee84ffa56d02ac24ec8d672
Author: Mark Andrews <marka@isc.org>
Date:   Mon Dec 3 12:42:18 2012 +1100

    '"\#"' was incorrectly being treated as a unknown data escape sequence.
This commit is contained in:
Mark Andrews
2012-12-08 14:05:32 +11:00
parent 037445e774
commit 913043e5b0
6 changed files with 51 additions and 4 deletions

View File

@@ -53,6 +53,8 @@ txt4 CLASS1 TYPE16 "hello"
txt5 TXT \# 6 0568656C6C6F
txt6 TYPE16 \# 6 0568656C6C6F
txt7 IN TXT \# 6 0568656C6C6F
txt8 IN TXT "\#" 2 0145
txt9 IN TXT \# text
unk1 TYPE123 \# 1 00
unk2 CLASS1 TYPE123 \# 1 00