From 33ca71a7452cb86ba414a7c20f1baa1951a8b2ff Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 25 Nov 2014 11:52:07 -0800 Subject: [PATCH] Connect to EZTV over SSL --- src/NzbDrone.Common.Test/Http/HttpClientFixture.cs | 4 ++-- src/NzbDrone.Core/Indexers/Eztv/EztvSettings.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/NzbDrone.Common.Test/Http/HttpClientFixture.cs b/src/NzbDrone.Common.Test/Http/HttpClientFixture.cs index b4e78b5ef..e4e03c734 100644 --- a/src/NzbDrone.Common.Test/Http/HttpClientFixture.cs +++ b/src/NzbDrone.Common.Test/Http/HttpClientFixture.cs @@ -11,7 +11,7 @@ namespace NzbDrone.Common.Test.Http { [TestFixture] [IntegrationTest] - public class RestClientFixture : TestBase + public class HttpClientFixture : TestBase { [Test] public void should_execute_simple_get() @@ -83,7 +83,7 @@ namespace NzbDrone.Common.Test.Http var userAgent = response.Resource.Headers["User-Agent"].ToString(); - userAgent.Should().Contain("NzbDrone"); + userAgent.Should().Contain("Sonarr"); } [TestCase("Accept", "text/xml, text/rss+xml, application/rss+xml")] diff --git a/src/NzbDrone.Core/Indexers/Eztv/EztvSettings.cs b/src/NzbDrone.Core/Indexers/Eztv/EztvSettings.cs index ee6045fdf..a6c0da30f 100644 --- a/src/NzbDrone.Core/Indexers/Eztv/EztvSettings.cs +++ b/src/NzbDrone.Core/Indexers/Eztv/EztvSettings.cs @@ -22,7 +22,7 @@ namespace NzbDrone.Core.Indexers.Eztv public EztvSettings() { - BaseUrl = "http://www.ezrss.it/"; + BaseUrl = "https://www.ezrss.it/"; } [FieldDefinition(0, Label = "Website URL")]