1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00
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

View File

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