-
Notifications
You must be signed in to change notification settings - Fork 904
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix backslash handling in TXT parser, includes test. Thanks jpmens
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3107 d19b8d6e-7fed-0310-83ef-9ca221ded41b
- Loading branch information
Peter van Dijk
committed
Feb 28, 2013
1 parent
fb6ed6f
commit 3526186
Showing
5 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/bin/sh | ||
cleandig text0.example.com TXT | ||
cleandig text1.example.com TXT | ||
cleandig text2.example.com TXT | ||
cleandig text3.example.com TXT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4 TXT records with 0 to 3 backslashes before a semicolon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
0 text0.example.com. IN TXT 120 "k=rsa; p=one" | ||
Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 | ||
Reply to question for qname='text0.example.com.', qtype=TXT | ||
0 text1.example.com. IN TXT 120 "k=rsa; p=one" | ||
Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 | ||
Reply to question for qname='text1.example.com.', qtype=TXT | ||
0 text2.example.com. IN TXT 120 "k=rsa\\; p=one" | ||
Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 | ||
Reply to question for qname='text2.example.com.', qtype=TXT | ||
0 text3.example.com. IN TXT 120 "k=rsa\\; p=one" | ||
Rcode: 0, RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 | ||
Reply to question for qname='text3.example.com.', qtype=TXT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters