Dave Conway-Jones 2020-07-23 10:04:24 +01:00
parent 442b9d23f1
commit 889224715b
No known key found for this signature in database
GPG Key ID: 302A6725C594817F
1 changed files with 2 additions and 2 deletions

View File

@ -46,10 +46,10 @@ module.exports = function(RED) {
isText = true;
} else if (parsedType.type !== "application") {
isText = false;
} else if (parsedType.subtype !== "octet-stream") {
} else if ((parsedType.subtype !== "octet-stream") && (parsedType.subtype !== "cbor")) {
checkUTF = true;
} else {
// applicatino/octet-stream
// application/octet-stream or application/cbor
isText = false;
}