mirror of
https://github.com/bitwarden/server.git
synced 2024-12-22 16:57:36 +01:00
update comment
This commit is contained in:
parent
7abfefd167
commit
9cb103e6aa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user