chameleonbr / node-red-contrib-redis

Node RED client for Redis with pub/sub, list, lua scripting and other commands support.
MIT License
46 stars 40 forks source link

Escaped Double Quotes Added when publish String #32

Closed Burnsys2 closed 4 years ago

Burnsys2 commented 4 years ago

When publishing a String from node-red, a pair of escaped double quotes is added to the message value
\" When publishing string messages from the console, no escaped character are added.

[{"id":"ca62e7e3.1f99f8","type":"tab","label":"TestRedis","disabled":false,"info":""},{"id":"6c6b0846.9692f8","type":"ui_button","z":"ca62e7e3.1f99f8","name":"","group":"d7edbfcc.d651f","order":5,"width":0,"height":0,"passthru":false,"label":"TEST","tooltip":"","color":"","bgcolor":"","icon":"","payload":"TestValue","payloadType":"str","topic":"TestTopic","x":130,"y":300,"wires":[["a43782bd.e8321"]]},{"id":"a43782bd.e8321","type":"redis-out","z":"ca62e7e3.1f99f8","server":"5bb487b1.795a48","command":"publish","name":"","topic":"","x":300,"y":300,"wires":[]},{"id":"d7edbfcc.d651f","type":"ui_group","z":"","name":"Default","tab":"e1801bf0.458398","disp":true,"width":"6","collapse":false},{"id":"5bb487b1.795a48","type":"redis-config","z":"","name":"Redis Aleph","options":"rediss://:bjAy1ZR3OhPeCOiraqbO0+RdkuZVmOIVHrIR8bnzMAI=@Aleph-Redis.redis.cache.windows.net:6380/4","cluster":false,"optionsType":"str"},{"id":"e1801bf0.458398","type":"ui_tab","z":"","name":"AA","icon":"dashboard","disabled":false,"hidden":false}] Message received from Node-red image Publish message from console image Message received from console image

chameleonbr commented 4 years ago

This behavior was changed in v1.3.7 and no more add double quotes.