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 2d96771 + 6cca275 commit 0ee0880Copy full SHA for 0ee0880
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