incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erdem Agaoglu <>
Subject _show fails on special characters in URL
Date Mon, 22 Aug 2011 14:45:17 GMT
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


Characters between %00 and %80 has no effect, but anything between %81 and
%FF causes problem. I saw these in the debug log.

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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message