lev icon indicating copy to clipboard operation
lev copied to clipboard

Use shlex.js to parse params in PUT properly

Open CirnoT opened this issue 8 years ago • 0 comments

Allows for escaped or quotes keys with space.

PUT "key key key" test test test will create key 'key key key' with value 'test test test'. PUT "key key key" test \"quote\" test will create key 'key key key' with value 'test "quote" test'.

It most likely screws up with JSON data (may require manual escaping of double quotes) but it's just something i done very fast since I had to edit manually key with spaces in it.

CirnoT avatar Aug 16 '17 14:08 CirnoT