From 86f6b817fc1534e0816cf75421e88ac81f37bd4b Mon Sep 17 00:00:00 2001 From: Vasily Date: Mon, 22 Oct 2018 02:16:58 +0300 Subject: [PATCH] Replaced mb3admin.com phoning home with a stub mb3admin.local --- Emby.Server.Implementations/EntryPoints/UsageReporter.cs | 2 +- Emby.Server.Implementations/Security/PluginSecurityManager.cs | 4 ++-- Emby.Server.Implementations/Updates/InstallationManager.cs | 4 ++-- MediaBrowser.Api/StartupWizardService.cs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Emby.Server.Implementations/EntryPoints/UsageReporter.cs b/Emby.Server.Implementations/EntryPoints/UsageReporter.cs index 86b335b77..d9c9e1a40 100644 --- a/Emby.Server.Implementations/EntryPoints/UsageReporter.cs +++ b/Emby.Server.Implementations/EntryPoints/UsageReporter.cs @@ -18,7 +18,7 @@ namespace Emby.Server.Implementations.EntryPoints private readonly IServerApplicationHost _applicationHost; private readonly IHttpClient _httpClient; private readonly ILogger _logger; - private const string MbAdminUrl = "https://www.mb3admin.com/admin/"; + private const string MbAdminUrl = "https://www.mb3admin.local/admin/"; public UsageReporter(IServerApplicationHost applicationHost, IHttpClient httpClient, ILogger logger) { diff --git a/Emby.Server.Implementations/Security/PluginSecurityManager.cs b/Emby.Server.Implementations/Security/PluginSecurityManager.cs index af754d8cb..8d8d6700e 100644 --- a/Emby.Server.Implementations/Security/PluginSecurityManager.cs +++ b/Emby.Server.Implementations/Security/PluginSecurityManager.cs @@ -23,8 +23,8 @@ namespace Emby.Server.Implementations.Security /// public class PluginSecurityManager : ISecurityManager { - private const string MBValidateUrl = "https://mb3admin.com/admin/service/registration/validate"; - private const string AppstoreRegUrl = /*MbAdmin.HttpsUrl*/ "https://mb3admin.com/admin/service/appstore/register"; + private const string MBValidateUrl = "https://mb3admin.local/admin/service/registration/validate"; + private const string AppstoreRegUrl = /*MbAdmin.HttpsUrl*/ "https://mb3admin.local/admin/service/appstore/register"; public async Task IsSupporter() { diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.cs index 435bcfd04..a23166647 100644 --- a/Emby.Server.Implementations/Updates/InstallationManager.cs +++ b/Emby.Server.Implementations/Updates/InstallationManager.cs @@ -178,7 +178,7 @@ namespace Emby.Server.Implementations.Updates var options = new HttpRequestOptions { - Url = "https://www.mb3admin.com/admin/service/package/retrieveall?includeAllRuntimes=true", + Url = "https://www.mb3admin.local/admin/service/package/retrieveall?includeAllRuntimes=true", CancellationToken = cancellationToken }; @@ -213,7 +213,7 @@ namespace Emby.Server.Implementations.Updates { using (var response = await _httpClient.SendAsync(new HttpRequestOptions { - Url = "https://www.mb3admin.com/admin/service/EmbyPackages.json", + Url = "https://www.mb3admin.local/admin/service/EmbyPackages.json", CancellationToken = cancellationToken, Progress = new SimpleProgress(), CacheLength = GetCacheLength(), diff --git a/MediaBrowser.Api/StartupWizardService.cs b/MediaBrowser.Api/StartupWizardService.cs index 61d9a90d6..425eb2ef0 100644 --- a/MediaBrowser.Api/StartupWizardService.cs +++ b/MediaBrowser.Api/StartupWizardService.cs @@ -78,7 +78,7 @@ namespace MediaBrowser.Api { try { - var url = string.Format("http://www.mb3admin.com/admin/service/package/installed?mac={0}&product=MBServer&operation=Install&version={1}", + var url = string.Format("http://www.mb3admin.local/admin/service/package/installed?mac={0}&product=MBServer&operation=Install&version={1}", _appHost.SystemId, _appHost.ApplicationVersion.ToString());