1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-22 16:57:36 +01:00

update comment

This commit is contained in:
Kyle Spearrin 2020-05-01 11:09:44 -04:00
parent 7abfefd167
commit 9cb103e6aa

View File

@ -285,7 +285,7 @@ namespace Bit.Icons.Services
return null;
}
// Prevent local hosts (localhost, bobs-pc, etc), IPv4, and IPv6 (which contain ":" in the host)
// Prevent local hosts (localhost, bobs-pc, etc) and IP addresses
if (!uri.Host.Contains(".") || IPAddress.TryParse(uri.Host, out _))
{
return null;