nicolasff / webdis

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

(duplicate form post please delete) #68

Closed kaytwo closed 11 years ago

kaytwo commented 11 years ago

"PUT with the last argument in the body" doesn't match what the code does - it short circuits out based on slash count instead of command count on https://github.com/nicolasff/webdis/blob/master/cmd.c#L231

Pretty sure this could be fixed via changing that line to

    if(cmd->count==1) {

Let me know if you'd like a full pull request.

kaytwo commented 11 years ago

Github 404'd on me and I submitted a dupe, sorry.