diff --git a/src/Icons/Services/IconFetchingService.cs b/src/Icons/Services/IconFetchingService.cs index 60f0edfca0..480216893e 100644 --- a/src/Icons/Services/IconFetchingService.cs +++ b/src/Icons/Services/IconFetchingService.cs @@ -348,6 +348,13 @@ namespace Bit.Icons.Services } Cleanup(response); + + if (location == null || (location.Scheme != "http" && location.Scheme != "https") || + !location.IsDefaultPort) + { + return null; + } + var newResponse = await GetAsync(location); if (newResponse != null) {