1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Fixed: SSL Certificate validation when port is used

Closes #3039
This commit is contained in:
Mark McDowall 2019-04-11 09:00:59 -07:00
parent 0911abcfc0
commit 558bbeaa34

View File

@ -41,7 +41,7 @@ private bool ShouldByPassValidationError(object sender, X509Certificate certific
return true;
}
var ipAddresses = GetIPAddresses(request.Host);
var ipAddresses = GetIPAddresses(request.RequestUri.Host);
var certificateValidation = _configService.CertificateValidation;
if (certificateValidation == CertificateValidationType.Disabled)