Revision 44958e6a
Added by koszko about 2 years ago
common/misc.js | ||
---|---|---|
178 | 178 |
return {name: header.name, value: new_csp.join('')}; |
179 | 179 |
} |
180 | 180 |
|
181 |
/* Regexes and objest to use as/in schemas for parse_json_with_schema(). */
|
|
181 |
/* Regexes and objects to use as/in schemas for parse_json_with_schema(). */
|
|
182 | 182 |
const nonempty_string_matcher = /.+/; |
183 | 183 |
|
184 | 184 |
const matchers = { |
Also available in: Unified diff
implement rethinked tags sanitizing approach
This has not been tested yet. Additionally, functionality for blocking of `data:' urls needs to be re-enabled.