mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 21:18:13 -05:00
update comment
This commit is contained in:
parent
7abfefd167
commit
9cb103e6aa
@ -285,7 +285,7 @@ namespace Bit.Icons.Services
|
|||||||
return null;
|
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 _))
|
if (!uri.Host.Contains(".") || IPAddress.TryParse(uri.Host, out _))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user