Validates a URL before handing it to fetch(). Blocks dangerous protocols (javascript:, data:, file:, blob:, etc.).
URL to validate
Validated URL
When the URL is invalid or uses a forbidden protocol
Validates a URL before handing it to fetch(). Blocks dangerous protocols (javascript:, data:, file:, blob:, etc.).