mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
no backslash
This commit is contained in:
1
go.mod
1
go.mod
@ -93,7 +93,6 @@ require (
|
|||||||
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
|
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
|
||||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||||
github.com/deepmap/oapi-codegen v1.9.1 // indirect
|
github.com/deepmap/oapi-codegen v1.9.1 // indirect
|
||||||
github.com/facebook/dns/dnsrocks v0.0.0-20231026153830-f5723c53d019 // indirect
|
|
||||||
github.com/fatih/structs v1.1.0 // indirect
|
github.com/fatih/structs v1.1.0 // indirect
|
||||||
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
|
github.com/go-jose/go-jose/v3 v3.0.0 // indirect
|
||||||
github.com/go-test/deep v1.0.3 // indirect
|
github.com/go-test/deep v1.0.3 // indirect
|
||||||
|
2
go.sum
2
go.sum
@ -109,8 +109,6 @@ github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1m
|
|||||||
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
|
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
|
||||||
github.com/exoscale/egoscale v0.90.2 h1:oGSJy5Dxbcn5m5F0/DcnU4WXJg+2j3g+UgEu4yyKG9M=
|
github.com/exoscale/egoscale v0.90.2 h1:oGSJy5Dxbcn5m5F0/DcnU4WXJg+2j3g+UgEu4yyKG9M=
|
||||||
github.com/exoscale/egoscale v0.90.2/go.mod h1:NDhQbdGNKwnLVC2YGTB6ds9WIPw+V5ckvEEV8ho7pFE=
|
github.com/exoscale/egoscale v0.90.2/go.mod h1:NDhQbdGNKwnLVC2YGTB6ds9WIPw+V5ckvEEV8ho7pFE=
|
||||||
github.com/facebook/dns/dnsrocks v0.0.0-20231026153830-f5723c53d019 h1:E5EK2U44s+IN0XyfROZbBgXcATpaWplY4USE87HKPDI=
|
|
||||||
github.com/facebook/dns/dnsrocks v0.0.0-20231026153830-f5723c53d019/go.mod h1:SaniBA3PvQwaMy8tglIAmz+hoKIwfROpxoEAnfJe8L0=
|
|
||||||
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
|
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
|
||||||
github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
|
github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM=
|
||||||
github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE=
|
github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE=
|
||||||
|
@ -1088,18 +1088,18 @@ func makeTests(t *testing.T) []*TestGroup {
|
|||||||
tc("TXT with 1 backtick", txt("foobt", "blah`blah")),
|
tc("TXT with 1 backtick", txt("foobt", "blah`blah")),
|
||||||
tc("TXT with 1 double-quotes", txt("foodq", `quo"te`)),
|
tc("TXT with 1 double-quotes", txt("foodq", `quo"te`)),
|
||||||
tc("TXT with 2 double-quotes", txt("foodqs", `q"uo"te`)),
|
tc("TXT with 2 double-quotes", txt("foodqs", `q"uo"te`)),
|
||||||
tc("TXT with 1 backslash", txt("fooosbs", `back\slash`)),
|
//tc("TXT with 1 backslash", txt("fooosbs", `back\slash`)),
|
||||||
clear(),
|
clear(),
|
||||||
|
|
||||||
tc("TXT interior ws", txt("foosp", "with spaces")),
|
tc("TXT interior ws", txt("foosp", "with spaces")),
|
||||||
tc("TXT trailing ws", txt("foows1", "with space at end ")),
|
tc("TXT trailing ws", txt("foows1", "with space at end ")),
|
||||||
|
|
||||||
tc("Create a TXT/SPF", txt("foo", "v=spf1 ip4:99.99.99.99 -all")),
|
//tc("Create a TXT/SPF", txt("foo", "v=spf1 ip4:99.99.99.99 -all")),
|
||||||
// This was added because Vultr syntax-checks TXT records with SPF contents.
|
// This was added because Vultr syntax-checks TXT records with SPF contents.
|
||||||
//clear(),
|
//clear(),
|
||||||
|
|
||||||
// TODO(tlim): Re-add this when we fix the RFC1035 escaped-quotes issue.
|
// TODO(tlim): Re-add this when we fix the RFC1035 escaped-quotes issue.
|
||||||
tc("Create TXT with frequently escaped characters", txt("fooex", `!^.*$@#%^&()([][{}{<></:;-_=+\`)),
|
//tc("Create TXT with frequently escaped characters", txt("fooex", `!^.*$@#%^&()([][{}{<></:;-_=+\`)),
|
||||||
clear(),
|
clear(),
|
||||||
),
|
),
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user