Alexander Shorin created COUCHDB-2892:
-----------------------------------------

             Summary: Fauxton strips conrol characters from document ID
                 Key: COUCHDB-2892
                 URL: https://issues.apache.org/jira/browse/COUCHDB-2892
             Project: CouchDB
          Issue Type: Bug
          Components: Fauxton
            Reporter: Alexander Shorin


Try to create the following document from Fauxton interface:
{code}
{
  "_id": "\u0000"
}
{code}

It will fail is strange reason that database is already exists.

Try another way:
{code}
echo '{"_id": "\u0000"}' | http post http://localhost:15984/db
{code}

Fauxton will think that this document has empty ID and won't let you browse nor 
edit it.

Expectations:
Futon is tolerant to documents with strange and service characters.

Fauxton v1.0.6



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to