From 8383a0866fb8c79f9016b86dcdfc360b37bb378a Mon Sep 17 00:00:00 2001 From: Contribucious <4764956+contribucious@users.noreply.github.com> Date: Thu, 20 Aug 2020 00:09:39 +0200 Subject: [PATCH] Add Yandex to global equivalent domains list (#876) * [enum] Add Yandex to global equivalent domains list Exhaustive list of Yandex domain names obtained by contacting their support. * [Dictionary] Add Yandex to global equivalent domains list Exhaustive list of Yandex domain names obtained by contacting their support. --- src/Core/Enums/GlobalEquivalentDomainsType.cs | 1 + src/Core/Utilities/StaticStore.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Core/Enums/GlobalEquivalentDomainsType.cs b/src/Core/Enums/GlobalEquivalentDomainsType.cs index 028acc9ae0..1d8c575be4 100644 --- a/src/Core/Enums/GlobalEquivalentDomainsType.cs +++ b/src/Core/Enums/GlobalEquivalentDomainsType.cs @@ -85,5 +85,6 @@ Ubiquiti = 80, Discord = 81, Netcup = 82, + Yandex = 83, } } diff --git a/src/Core/Utilities/StaticStore.cs b/src/Core/Utilities/StaticStore.cs index 7b8a28c7c7..0045356328 100644 --- a/src/Core/Utilities/StaticStore.cs +++ b/src/Core/Utilities/StaticStore.cs @@ -94,6 +94,7 @@ namespace Bit.Core.Utilities GlobalDomains.Add(GlobalEquivalentDomainsType.Ubiquiti, new List { "ubnt.com", "ui.com" }); GlobalDomains.Add(GlobalEquivalentDomainsType.Discord, new List { "discordapp.com", "discord.com" }); GlobalDomains.Add(GlobalEquivalentDomainsType.Netcup, new List { "netcup.de", "netcup.eu", "customercontrolpanel.de" }); + GlobalDomains.Add(GlobalEquivalentDomainsType.Yandex, new List { "yandex.com", "ya.ru", "yandex.az", "yandex.by", "yandex.co.il", "yandex.com.am", "yandex.com.ge", "yandex.com.tr", "yandex.ee", "yandex.fi", "yandex.fr", "yandex.kg", "yandex.kz", "yandex.lt", "yandex.lv", "yandex.md", "yandex.pl", "yandex.ru", "yandex.tj", "yandex.tm", "yandex.ua", "yandex.uz" }); #endregion #region Plans