couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: Sanitize before saving to couch document?
Date Mon, 11 May 2015 11:28:18 GMT

> On 11 May 2015, at 06:55, jumbo jim <jumbojim22@gmail.com> wrote:
> 
> Hi,
> 
> When saving to couch, is there any requirement to sanitize before saving?
> From my testing is appears that everything is automatically encoded to json
> correctly.
> 
> Are there any scenarios when it can be dangerous to save certain types of
> data in couchdb?

What types are you thinking of? CouchDB only accepts application/json for
documents. Attachments can be of any content-type.

Best
Jan
--
Professional Support for Apache CouchDB:
http://www.neighbourhood.ie/couchdb-support/


Mime
View raw message