mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Fix for #2935
This commit is contained in:
		@@ -46,7 +46,9 @@ module.exports = function(RED) {
 | 
			
		||||
                    isText = true;
 | 
			
		||||
                } else if (parsedType.type !== "application") {
 | 
			
		||||
                    isText = false;
 | 
			
		||||
                } else if ((parsedType.subtype !== "octet-stream") && (parsedType.subtype !== "cbor")) {
 | 
			
		||||
                } else if ((parsedType.subtype !== "octet-stream") 
 | 
			
		||||
                    && (parsedType.subtype !== "cbor")
 | 
			
		||||
                    && (parsedType.subtype !== "x-protobuf")) {
 | 
			
		||||
                    checkUTF = true;
 | 
			
		||||
                } else {
 | 
			
		||||
                    // application/octet-stream or application/cbor
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user