We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dce9c9d + 0ee0880 commit 8f6e7e7Copy full SHA for 8f6e7e7
src/js/background/setUpWebRequestsListener.ts
@@ -27,7 +27,7 @@ function checkResponseMIMEType(
27
// Sniffable MIME types are a violation
28
if (
29
response.responseHeaders?.find(header =>
30
- header.name.includes('x-content-type-options'),
+ header.name.toLowerCase().includes('x-content-type-options'),
31
)?.value !== 'nosniff'
32
) {
33
chrome.tabs.sendMessage(
0 commit comments