RESP3: Use verbatim in INFO output.

This commit is contained in:
antirez 2019-09-18 18:33:01 +02:00
parent 238fd6546c
commit bbc1faa9d6

View File

@ -4391,7 +4391,9 @@ void infoCommand(client *c) {
addReply(c,shared.syntaxerr); addReply(c,shared.syntaxerr);
return; return;
} }
addReplyBulkSds(c, genRedisInfoString(section)); sds info = genRedisInfoString(section);
addReplyVerbatim(c,info,sdslen(info),"txt");
sdsfree(info);
} }
void monitorCommand(client *c) { void monitorCommand(client *c) {