mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-24 08:44:46 +00:00
Fixed: Certificate validation for local IP addresses instead of hostnames
This commit is contained in:
parent
35f28bdc71
commit
c718db21da
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,8 @@ namespace NzbDrone.Core.Security
|
|||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue