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 06d5c00 + 8a238a2 commit 7ca47c2Copy full SHA for 7ca47c2
src/background.ts
@@ -10,7 +10,7 @@ import { safeStringEncodeNums } from './safe-encode-numbers';
10
11
// Look for JSON if the content type is "application/json",
12
// or "application/whatever+json" or "application/json; charset=utf-8"
13
-const jsonContentType = /^application\/([a-z.]+\+)?json($|;)/;
+const jsonContentType = /^application\/(\w!#$&\.-\^\+)?json($|;)/;
14
15
// Keep track globally of URLs that contain JSON content.
16
const jsonUrls = new Set<string>();
0 commit comments