Fixed: SSL Certificate validation when port is used

Closes #3039
pull/1689/head
Mark McDowall 6 years ago committed by Qstick
parent 801eb562eb
commit 6efc0bc0b7

@ -41,7 +41,7 @@ namespace NzbDrone.Core.Security
return true; return true;
} }
var ipAddresses = GetIPAddresses(request.Host); var ipAddresses = GetIPAddresses(request.RequestUri.Host);
var certificateValidation = _configService.CertificateValidation; var certificateValidation = _configService.CertificateValidation;
if (certificateValidation == CertificateValidationType.Disabled) if (certificateValidation == CertificateValidationType.Disabled)

Loading…
Cancel
Save