couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Kozik (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-39) Unable to view/edit documents with spaces in document ID
Date Thu, 10 Apr 2008 16:46:08 GMT

     [ 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.


Mime
View raw message