message: Uri type validation before proxy setup
diff: @@ -328,14 +328,18 @@ namespace TogglDesktop.ViewModels
  proxyHttpClientFactory.Proxy = WebRequest.DefaultWebProxy;
  }
  else if (settings.UseProxy)
  + {
  + if (!Uri.CheckHostName(settings.ProxyHost).Equals(UriHostNameType.Unknown))
  {
  var proxy = new WebProxy(settings.ProxyHost + ":" + settings.ProxyPort, true);
  +
  if (!string.IsNullOrEmpty(settings.ProxyUsername))
  {
  proxy.Credentials = new NetworkCredential(settings.ProxyUsername, settings.ProxyPassword);
  }
  proxyHttpClientFactory.Proxy = proxy;
  }
  + }
  return proxyHttpClientFactory;
  }
  