Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use shlex.js to parse params in PUT properly #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Use shlex.js to parse params in PUT properly #56

wants to merge 1 commit into from

Conversation

CirnoT
Copy link

@CirnoT CirnoT commented Aug 16, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant