diff --git a/CONTRIBUTIONS.md b/CONTRIBUTIONS.md index c54f4d0b..9b267510 100644 --- a/CONTRIBUTIONS.md +++ b/CONTRIBUTIONS.md @@ -20,6 +20,7 @@ for details! * [Anatoly Bubenkov](mailto:bubenkoff@gmail.com) (@bubenkoff) * [Ben Harris](mailto:mail@bharr.is) (@bharrisau) * [Daniel Ziegenberg](mailto:daniel@ziegenberg.at) (@ziegenberg) +* [Filipe Santos](mailto:git@not.sh) (horjulf) * [Ignacio Serrano](mailto:ignic@ignic.com) (@ignic) * [Ilya Kulakov](mailto:kulakov.ilya@gmail.com) (@Kentzo) * [Leonardo David Monteiro](mailto:leo@cub3.xyz) (@leosfsm) diff --git a/fw-addr-lists.rsc b/fw-addr-lists.rsc index 1c3fe355..b3a39b06 100644 --- a/fw-addr-lists.rsc +++ b/fw-addr-lists.rsc @@ -70,7 +70,7 @@ :local Data false; :local TimeOut [ $EitherOr [ :totime ($List->"timeout") ] $FwAddrListTimeOut ]; - :foreach Cert in=[ :toarray delimiter=":" ($List->"cert") ] do={ + :foreach Cert in=[ :toarray delimiter=":" [ :tostr ($List->"cert") ] ] do={ :if ([ :len ($Cert) ] > 0) do={ :set CheckCertificate true; :if ([ $CertificateAvailable $Cert "fetch" ] = false) do={ diff --git a/netwatch-dns.rsc b/netwatch-dns.rsc index a1c6b0f6..ed4fd1f4 100644 --- a/netwatch-dns.rsc +++ b/netwatch-dns.rsc @@ -99,7 +99,7 @@ } :foreach DohServer in=$DohServers do={ - :foreach DohCert in=[ :toarray delimiter=":" ($DohServer->"doh-cert") ] do={ + :foreach DohCert in=[ :toarray delimiter=":" [ :tostr ($DohServer->"doh-cert") ] ] do={ :if ([ :len $DohCert ] > 0) do={ :if ([ $CertificateAvailable $DohCert "fetch" ] = false || \ [ $CertificateAvailable $DohCert "dns" ] = false) do={