diff options
| author | Bob Halley <halley@dnspython.org> | 2005-09-02 05:23:42 +0000 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2005-09-02 05:23:42 +0000 |
| commit | 50696af2d785bb440b1f908b3d178dd91a5462e7 (patch) | |
| tree | 048d76ed00afb13f59fb65e81420749c77935bb1 /tests | |
| parent | cc3f998ab9f6e2c592641ffd94f4f14803be98a6 (diff) | |
| download | dnspython-50696af2d785bb440b1f908b3d178dd91a5462e7.tar.gz | |
Do not reject unquoted TXT RR values The masterfile parser incorrectly
rejected TXT records where a value was not quoted.
Original author: Bob Halley <halley@dnspython.org>
Date: 2004-10-26 00:13:21
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/example | 1 | ||||
| -rw-r--r-- | tests/example1.good | 1 | ||||
| -rw-r--r-- | tests/example2.good | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/example b/tests/example index 27420f1..4833201 100644 --- a/tests/example +++ b/tests/example @@ -170,6 +170,7 @@ txt09 TXT "foo\010bar" txt10 TXT "foo bar" txt11 TXT "\"foo\"" txt12 TXT "\"foo\"" +txt13 TXT foo $TTL 300 ; 5 minutes u TXT "txt-not-in-nxt" $ORIGIN u.example. diff --git a/tests/example1.good b/tests/example1.good index f71c6d4..d80b8ed 100644 --- a/tests/example1.good +++ b/tests/example1.good @@ -94,6 +94,7 @@ txt09 3600 IN TXT "foo\010bar" txt10 3600 IN TXT "foo bar" txt11 3600 IN TXT "\"foo\"" txt12 3600 IN TXT "\"foo\"" +txt13 3600 IN TXT "foo" u 300 IN TXT "txt-not-in-nxt" a.u 300 IN A 73.80.65.49 b.u 300 IN A 73.80.65.49 diff --git a/tests/example2.good b/tests/example2.good index 64b6df5..62d6ace 100644 --- a/tests/example2.good +++ b/tests/example2.good @@ -94,6 +94,7 @@ txt09.example. 3600 IN TXT "foo\010bar" txt10.example. 3600 IN TXT "foo bar" txt11.example. 3600 IN TXT "\"foo\"" txt12.example. 3600 IN TXT "\"foo\"" +txt13.example. 3600 IN TXT "foo" u.example. 300 IN TXT "txt-not-in-nxt" a.u.example. 300 IN A 73.80.65.49 b.u.example. 300 IN A 73.80.65.49 |
