Compare commits

..

3 commits

Author SHA1 Message Date
Christian Hesse
cc644351b6 fw-addr-lists: fix list without certificate 2026-07-29 23:12:36 +02:00
Christian Hesse
deee37d918 update list of contributors 2026-07-27 21:38:30 +02:00
Filipe Santos
b6398422d0 netwatch-dns: fix :toarray on unset doh-cert
Co-authored-by: Christian Hesse <mail@eworm.de>
2026-07-27 21:35:12 +02:00
3 changed files with 3 additions and 2 deletions

View file

@ -20,6 +20,7 @@ for details!
* [Anatoly Bubenkov](mailto:bubenkoff@gmail.com) (@bubenkoff) * [Anatoly Bubenkov](mailto:bubenkoff@gmail.com) (@bubenkoff)
* [Ben Harris](mailto:mail@bharr.is) (@bharrisau) * [Ben Harris](mailto:mail@bharr.is) (@bharrisau)
* [Daniel Ziegenberg](mailto:daniel@ziegenberg.at) (@ziegenberg) * [Daniel Ziegenberg](mailto:daniel@ziegenberg.at) (@ziegenberg)
* [Filipe Santos](mailto:git@not.sh) (horjulf)
* [Ignacio Serrano](mailto:ignic@ignic.com) (@ignic) * [Ignacio Serrano](mailto:ignic@ignic.com) (@ignic)
* [Ilya Kulakov](mailto:kulakov.ilya@gmail.com) (@Kentzo) * [Ilya Kulakov](mailto:kulakov.ilya@gmail.com) (@Kentzo)
* [Leonardo David Monteiro](mailto:leo@cub3.xyz) (@leosfsm) * [Leonardo David Monteiro](mailto:leo@cub3.xyz) (@leosfsm)

View file

@ -72,7 +72,7 @@
:local Data false; :local Data false;
:local TimeOut [ $EitherOr [ :totime ($List->"timeout") ] $FwAddrListTimeOut ]; :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={ :if ([ :len ($Cert) ] > 0) do={
:set CheckCertificate true; :set CheckCertificate true;
:if ([ $CertificateAvailable $Cert "fetch" ] = false) do={ :if ([ $CertificateAvailable $Cert "fetch" ] = false) do={

View file

@ -103,7 +103,7 @@
} }
:foreach DohServer in=$DohServers do={ :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 ([ :len $DohCert ] > 0) do={
:if ([ $CertificateAvailable $DohCert "fetch" ] = false || \ :if ([ $CertificateAvailable $DohCert "fetch" ] = false || \
[ $CertificateAvailable $DohCert "dns" ] = false) do={ [ $CertificateAvailable $DohCert "dns" ] = false) do={