Hi all,
I think i found something interesing in the way show functions are
handled. If i add a character with URL escaped value over '%80', it crashes
the function handler and request fails.
So while a _show like `
http://localhost:5984/example/_design/app/_show/foo/bar` works perfectly, `
http://localhost:5984/example/_design/app/_show/foo/bar?baz=%A3` fails with
{"error":"os_process_error","reason":"{exit_status,0}"}
Characters between %00 and %80 has no effect, but anything between %81 and
%FF causes problem. I saw these in the debug log.
http://pastebin.com/C3V2h1kk
Another interesting point is this only occurs with the escaped versions of
the characters. So if i request `
http://localhost:5984/example/_design/app/_show/foo/bar?baz=£` instead of
the previous one, it works.
I use Arch packaged couchdb, it reports version as 1.2.0a-1142703, and i was
able to reproduce it on iriscouch.
--
erdem agaoglu
|