When binary data is retrieved, it's using the ioredis.get api returns the response as a utf-8 string. decoding the binary data as utf-8 results in mangled payloads because the utf-8 decode process replaces unknown bytes with the unicode replacement character �. The mangled data is not readable.
Redis-commander should use the ioredis.getBuffer and only decode if the data is a string type, otherwise put the raw bytes through the base64 encoding process to ensure that the data is not mangled.
When binary data is retrieved, it's using the
ioredis.getapi returns the response as a utf-8 string. decoding the binary data as utf-8 results in mangled payloads because the utf-8 decode process replaces unknown bytes with the unicode replacement character�. The mangled data is not readable.Redis-commander should use the ioredis.getBuffer and only decode if the data is a string type, otherwise put the raw bytes through the base64 encoding process to ensure that the data is not mangled.