summaryrefslogtreecommitdiff
path: root/src/bg/RequestUtil.js
diff options
context:
space:
mode:
authorhackademix2018-07-16 15:55:01 +0200
committerhackademix2018-07-16 15:55:01 +0200
commitad6187dfd8e7a705ef417345a5cbf780c0dd7259 (patch)
treeb236086f12830a908795822cb5d972eaaa7f33d8 /src/bg/RequestUtil.js
parentf6b7232857f70be4614e57bcce0bb72623e9058e (diff)
downloadnoscript-ad6187dfd8e7a705ef417345a5cbf780c0dd7259.tar.gz
noscript-ad6187dfd8e7a705ef417345a5cbf780c0dd7259.tar.xz
noscript-ad6187dfd8e7a705ef417345a5cbf780c0dd7259.zip
Cosmetic bug fixes.
Diffstat (limited to 'src/bg/RequestUtil.js')
-rw-r--r--src/bg/RequestUtil.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/RequestUtil.js b/src/bg/RequestUtil.js
index 557293d..2cd15c2 100644
--- a/src/bg/RequestUtil.js
+++ b/src/bg/RequestUtil.js
@@ -1,7 +1,7 @@
'use strict';
{
let NULL = new Uint8Array();
- let DEFAULT_CHARSET = "utf-8";
+
let xmlFeedOrImage = /^(?:(?:application|text)\/(?:(?:r(?:ss|df)|atom)\+)xml(;|$))|image\//i;
let rawXml = /^(?:application|text)\/xml;/i;
let brokenOnLoad;