nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.83k stars 304 forks source link

Question Mark in Value Escapes Premature #41

Closed docyes closed 12 years ago

docyes commented 12 years ago

Steps to Reproduce:

POST LPUSH/key/{"zero": "zero?", "one": "one", "two": "two"}

{"LPUSH":1}

GET LPOP/key

{"LPOP":"{\"zero\": \"zero"}

Remove the '?' things are good and it does not escape the string.

docyes commented 12 years ago

As per spec, this is behaving correctly. We just need to update the docs and add the '?' as another special character that requires to be URI encoded.

nicolasff commented 12 years ago

Added, thanks!