Asserts that a remote image URL is safe (not localhost/private IP, only http/https). Resolves DNS and checks for private/loopback/link-local addresses.
The URL to check
Error if the URL is unsafe
Asserts that a remote image URL is safe (not localhost/private IP, only http/https). Resolves DNS and checks for private/loopback/link-local addresses.