You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Ivan Kozik (JIRA)" <ji...@apache.org> on 2008/04/10 18:46:08 UTC

[jira] Updated: (COUCHDB-39) Unable to view/edit documents with spaces in document ID

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

Ivan Kozik updated COUCHDB-39:
------------------------------

           Component/s:     (was: HTTP Interface)
                        Administration Console
           Description: 
Futon double-encodes the document ID, mangling spaces (and other characters?)
' ' -> '%25%20'

I created a document named "test id" and tried to view it. Futon could not load the document. Log shows:

[info] [<0.51.0>] HTTP Request: GET /test/test%2520me?revs_info=true HTTP/1.1
[info] [<0.51.0>] HTTP Error (code 404): {obj,[{error,"not_found"},{reason,"missing"}]}
[info] [<0.51.0>] HTTP Response Code:404


  was:
Futon double-encodes the document ID, mangling spaces (and other characters?)
' ' -> '%25%20'

I created a document named "test id" and tried to view it. Futon could not load the document:

[info] [<0.51.0>] HTTP Request: GET /test/test%2520me?revs_info=true HTTP/1.1
[info] [<0.51.0>] HTTP Error (code 404): {obj,[{error,"not_found"},{reason,"missing"}]}
[info] [<0.51.0>] HTTP Response Code:404


    Remaining Estimate:     (was: 1h)
     Original Estimate:     (was: 1h)

> Unable to view/edit documents with spaces in document ID
> --------------------------------------------------------
>
>                 Key: COUCHDB-39
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-39
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Administration Console
>         Environment: CouchDB trunk 0.7.3a644509, Erlang 5.6.2 on Linux
>            Reporter: Ivan Kozik
>            Priority: Minor
>
> Futon double-encodes the document ID, mangling spaces (and other characters?)
> ' ' -> '%25%20'
> I created a document named "test id" and tried to view it. Futon could not load the document. Log shows:
> [info] [<0.51.0>] HTTP Request: GET /test/test%2520me?revs_info=true HTTP/1.1
> [info] [<0.51.0>] HTTP Error (code 404): {obj,[{error,"not_found"},{reason,"missing"}]}
> [info] [<0.51.0>] HTTP Response Code:404

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.