]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix yaml output
authorMark Andrews <marka@isc.org>
Mon, 8 Jul 2024 04:00:14 +0000 (14:00 +1000)
committerMark Andrews <marka@isc.org>
Thu, 1 Aug 2024 03:48:12 +0000 (03:48 +0000)
commit8fefb27f7671dbea72f12706a73be5d9e232ccc2
tree549197bba06474294fbc9cfe9327cc312acc8b8d
parente7b9fc6d115c32db27f292c7719f7c5dbb6bd69e
Fix yaml output

In yaml mode we emit a string for each question and record.  Certain
names and data could result in invalid yaml being produced.  Use single
quote string for all questions and records.  This requires that single
quotes get converted to two quotes within the string.

(cherry picked from commit 393d7fa78e7344b515e0d271009e29754980bb36)
lib/dns/masterdump.c
lib/dns/message.c