]> git.ipfire.org Git - thirdparty/pdns.git/commit - pdns/test-dnsrecords_cc.cc
Make sure we escape 127 in TXT records 7017/head
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 3 Oct 2018 14:20:45 +0000 (16:20 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 3 Oct 2018 14:20:45 +0000 (16:20 +0200)
commitfa1dc6943e51255f0e48af7d25ef28f953ca5658
treead7d2a6d2afff2847a0438ebba441c9c99a805cd
parent4b12ff9f118c1d52df45b1663a6ed719ac3b6812
Make sure we escape 127 in TXT records
It turns out that value 127 (decimal) in TXT records also needs to be escaped as 127 ('DEL') is unprintable. Adds test too, and documents our test infra a bit better.
pdns/dnsparser.cc
pdns/test-dnsrecords_cc.cc