From b0d80ae4982534127589e8b37462569012223fa1 Mon Sep 17 00:00:00 2001 From: Amelia Aronsohn Date: Mon, 11 Jul 2022 11:52:18 -0700 Subject: [PATCH] DNSIMPLE: do not support unpaired double quotes in TXT (#1610) * DNSIMPLE: do not support unpaired double quotes in TXT DNSimple supports multiple double-quotes strings in a TXT record, but does not correctly support unpaired or escaped double-quotes currently. IE the following are valid ``` asdf "asdf" "asdf" "asdf" !@#$ %^&*()([][{}{<> --- integrationTest/integration_test.go | 2 ++ providers/dnsimple/auditrecords.go | 4 +++ providers/dnsimple/dnsimpleProvider.go | 42 ++++++-------------------- 3 files changed, 15 insertions(+), 33 deletions(-) diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go index de65599a4..cf5b90247 100644 --- a/integrationTest/integration_test.go +++ b/integrationTest/integration_test.go @@ -905,6 +905,8 @@ func makeTests(t *testing.T) []*TestGroup { tc("Create TXT with double-quote", txt("foodq", `quo"te`)), clear(), tc("Create TXT with ws at end", txt("foows1", "with space at end ")), + clear(), + tc("Create TXT with frequently escaped characters", txt("fooex", `!^.*$@#%^&()([][{}{<>