On Sun, May 17, 2009 at 10:17:59AM +0200, Kai Griffin - Relaxing wrote:
> The trouble is, couchdb fails to return any rows when those quotes are
> encoded as %22's like that.
Are you sure? Can you tun the same curl command line twice, once where it
works, and once which is identical except you replace every double quote
with %22 ?
Note 1: make sure the whole URL goes inside single quotes:
curl 'http://127.0.0.1:5984/.....'
Note 2: be careful with square brackets and curl, as it will try to perform
its own globbing on them. Either use the -g flag to curl, or encode your
square brackets as %5B and %5D.
HTH,
Brian.