From 7a49e03aa515bce1fd40313d3826dbd6b49de3d4 Mon Sep 17 00:00:00 2001 From: O2bmm Date: Thu, 3 Oct 2024 04:37:20 +0800 Subject: [PATCH] Update background.js --- js/background.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/background.js b/js/background.js index 837b4302..03870745 100644 --- a/js/background.js +++ b/js/background.js @@ -625,11 +625,11 @@ function getRequestHeaders(data) { for (let item of data.allRequestHeaders) { item.name = item.name.toLowerCase(); if (item.name == "referer") { - header.referer = item.value.toLowerCase(); + header.referer = item.value; } else if (item.name == "origin") { - header.origin = item.value.toLowerCase(); + header.origin = item.value; } else if (item.name == "cookie") { - header.cookie = item.value.toLowerCase(); + header.cookie = item.value; } } if (Object.keys(header).length) {