couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Bisbee (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (COUCHDB-422) PUT to _local/doc_id creates document '_local'
Date Wed, 22 Feb 2012 06:08:49 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sam Bisbee closed COUCHDB-422.
------------------------------


Resolved for a while. Closing.
                
> PUT to _local/doc_id creates document '_local'
> ----------------------------------------------
>
>                 Key: COUCHDB-422
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-422
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 0.10
>         Environment: Ubuntu 9.04
>            Reporter: eric casteleijn
>            Assignee: Paul Joseph Davis
>            Priority: Minor
>             Fix For: 0.10
>
>
> After davisp's revision r796246 doing a put to a document id like '_local/doc_id' results
in a visible, and apparently non-local document with id '_local'. When escaping the slash
as '%2F' everything works as before, and expected, i.e. a local document with the above id
is created.
> To test:
> curl -X PUT -d '{"foo": "bar"}' http://127.0.0.1:5987/db1/_local/yokal
> result:
> {"ok":true,"id":"_local","rev":"1-770307fe8d4210bab8ec65c59983e03c"}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message