Fixed: Certificate validation for local IP addresses instead of hostnames

pull/3072/head
Mark McDowall 6 years ago
parent 35f28bdc71
commit c718db21da

@ -58,7 +58,8 @@ namespace NzbDrone.Core.Security
return true; return true;
} }
if (certificateValidation == CertificateValidationType.DisabledForLocalAddresses && host.AddressList.All(i => i.IsLocalAddress())) if (certificateValidation == CertificateValidationType.DisabledForLocalAddresses &&
host.AddressList.All(i => i.IsIPv6LinkLocal || i.IsLocalAddress()))
{ {
return true; return true;
} }

Loading…
Cancel
Save