incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "armin weisser" <armin.weis...@virtual-identity.com>
Subject AW: URL-Encoded DELETE: " vs. %22
Date Thu, 05 May 2011 10:33:26 GMT


>>>> "Is this a known problem?"

>> It is now. :) Can you file a ticket?

sure


On 5 May 2011 10:42, armin weisser <armin.weisser@virtual-identity.com>
wrote:
> Hi,
>
> i'm facing an issue with URL-Encoded DELETE Requests where double
quotes
> (") are translated to %22.
>
> These GETS are equivalent
> curl -X GET
> http://localhost:5984/mydb/_design/views/_view/accounts?key="4711"
> curl -X GET
> http://localhost:5984/mydb/_design/views/_view/accounts?key=%224711%22
>
> This DELETE is OK
> curl -X DELETE
>
http://localhost:5984/mydb/4711?rev="1-7511a58b76f9a9dec6a666ecc74302f6"
>
> But this one returns a 500
> curl -X DELETE
>
http://localhost:5984/mydb/4711?rev=%221-7511a58b76f9a9dec6a666ecc74302f
> 6%22
>
> Is this a known problem?
>
> Cheers,
>
> Armin
>
>

Mime
View raw message