summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2021-09-02 21:32:48 +0200
committerWojtek Kosior <koszko@koszko.org>2021-09-02 21:33:33 +0200
commit44958e6ab4218429475f3c79ecf2116b78a07021 (patch)
treed1e2b18089a627380126faf533c9ba7248e6d43d /common
parent6b53d6c840140fc5df6d7638808b978d96502a35 (diff)
downloadbrowser-extension-44958e6ab4218429475f3c79ecf2116b78a07021.tar.gz
browser-extension-44958e6ab4218429475f3c79ecf2116b78a07021.zip
implement rethinked <meta> tags sanitizing approach
This has not been tested yet. Additionally, functionality for blocking of `data:' urls needs to be re-enabled.
Diffstat (limited to 'common')
-rw-r--r--common/misc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/misc.js b/common/misc.js
index 8894d60..30a9e77 100644
--- a/common/misc.js
+++ b/common/misc.js
@@ -178,7 +178,7 @@ function sanitize_csp_header(header, policy)
return {name: header.name, value: new_csp.join('')};
}
-/* Regexes and objest to use as/in schemas for parse_json_with_schema(). */
+/* Regexes and objects to use as/in schemas for parse_json_with_schema(). */
const nonempty_string_matcher = /.+/;
const matchers = {