- Fix parse in sldns of quoted parenthesized text strings.

git-svn-id: file:///svn/unbound/trunk@3066 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2014-02-03 14:28:57 +00:00
parent acc7548b07
commit d2b03defce
4 changed files with 57 additions and 7 deletions
+6
View File
@@ -113,3 +113,9 @@ eui64 IN EUI64 00-00-5e-ef-00-00-00-2a
;error.eui64 IN EUI64 00-00-5e-ef-00-00-00-2a-ef ; too long
;error.eui64 IN EUI64 00-00-5e-ef-r0-00-00-2a ; non-hex
; Tests for Unbound
; the text strings should be identical, with () and without (), parse test.
txt1 TXT "a" "bb" "ccc"
txt2 TXT ( "a" "bb" "ccc" )
txt3 TXT "a b" "bb" " cc c " " "
txt4 TXT ( "a b" "bb" " cc c " " " )
+8
View File
@@ -128,3 +128,11 @@ caa. 3600 IN CAA \# 70 020461757468303E3039060A2B06010401D6790203010609608648016
eui48. 3600 IN EUI48 00-00-5e-90-01-2a
05657569363400006D000100000E10000800005EEF0000002A
eui64. 3600 IN EUI64 00-00-5e-ef-00-00-00-2a
0474787431000010000100000E100009016102626203636363
txt1. 3600 IN TXT "a" "bb" "ccc"
0474787432000010000100000E100009016102626203636363
txt2. 3600 IN TXT "a" "bb" "ccc"
0474787433000010000100000E10001003612062026262062063632063200120
txt3. 3600 IN TXT "a b" "bb" " cc c " " "
0474787434000010000100000E10001003612062026262062063632063200120
txt4. 3600 IN TXT "a b" "bb" " cc c " " "