From 74ac29bae666cd910c6f66d47b20e3209afc1fe7 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Fri, 5 Jul 2024 23:45:06 +0100 Subject: fix(permissions): handle ipv6 addresses correctly (#24397) Also don't panic on invalid domain names and addresses. Extracted with cleanups up from #24080 Co-authored-by: Yazan AbdAl-Rahman --- tests/testdata/workers/permissions_blob_remote.ts.out | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testdata/workers/permissions_blob_remote.ts.out') diff --git a/tests/testdata/workers/permissions_blob_remote.ts.out b/tests/testdata/workers/permissions_blob_remote.ts.out index 618f552dc..6dc4f0f5f 100644 --- a/tests/testdata/workers/permissions_blob_remote.ts.out +++ b/tests/testdata/workers/permissions_blob_remote.ts.out @@ -1,4 +1,4 @@ -error: Uncaught (in worker "") Requires net access to "example.com", run again with the --allow-net flag +error: Uncaught (in worker "") Requires net access to "example.com:443", run again with the --allow-net flag at blob:null/[WILDCARD]:1:8 error: Uncaught (in promise) Error: Unhandled error in child worker. at Worker.#pollControl[WILDCARD] -- cgit v1.2.3