Skip to content

Commit 8f6e7e7

Browse files
authored
Merge branch 'main' into css_defense
2 parents dce9c9d + 0ee0880 commit 8f6e7e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/background/setUpWebRequestsListener.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function checkResponseMIMEType(
2727
// Sniffable MIME types are a violation
2828
if (
2929
response.responseHeaders?.find(header =>
30-
header.name.includes('x-content-type-options'),
30+
header.name.toLowerCase().includes('x-content-type-options'),
3131
)?.value !== 'nosniff'
3232
) {
3333
chrome.tabs.sendMessage(

0 commit comments

Comments
 (0)