You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2015/11/20 00:53:10 UTC

[jira] [Created] (COUCHDB-2892) Fauxton strips conrol characters from document ID

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)