mirror of
https://github.com/bitwarden/server
synced 2026-01-04 01:23:25 +00:00
update comment
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user