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:42:06 UTC

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

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: HTTP Interface
         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:

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


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

Posted by "Christopher Lenz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Lenz updated COUCHDB-39:
------------------------------------

        Fix Version/s: 0.8
    Affects Version/s: 0.7.2

> 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
>    Affects Versions: 0.7.2
>         Environment: CouchDB trunk 0.7.3a644509, Erlang 5.6.2 on Linux
>            Reporter: Ivan Kozik
>            Assignee: Christopher Lenz
>            Priority: Minor
>             Fix For: 0.8
>
>
> 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.


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

Posted by "Christopher Lenz (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christopher Lenz resolved COUCHDB-39.
-------------------------------------

    Resolution: Fixed
      Assignee: Christopher Lenz

Fixed in r647314. Thanks for the report!

> 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
>            Assignee: Christopher Lenz
>            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.


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

Posted by "Ivan Kozik (JIRA)" <ji...@apache.org>.
     [ 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.