From ed239931bb476af4fac5b8649ca2ef40ca1bc0eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iver=20Sm=C3=A5ge=20men=20b=C3=A6rbar?= Date: Mon, 15 May 2023 18:21:44 +0200 Subject: [PATCH] use response tainting::cors in cors preflight --- components/net/http_loader.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/net/http_loader.rs b/components/net/http_loader.rs index 595fb3c124d..f79f67ce1d9 100644 --- a/components/net/http_loader.rs +++ b/components/net/http_loader.rs @@ -1978,6 +1978,7 @@ async fn cors_preflight_fetch( .destination(request.destination.clone()) .referrer_policy(request.referrer_policy) .mode(RequestMode::CorsMode) + .response_tainting(ResponseTainting::CorsTainting) .build(); // Step 2