[ 
https://issues.apache.org/jira/browse/COUCHDB-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14160079#comment-14160079
 ] 

ASF GitHub Bot commented on COUCHDB-2342:
-----------------------------------------

GitHub user robertkowalski opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/81

    COUCHDB-2342 - Url-encode document-ids properly

    Url-encode document-ids properly
     
    - modify the helper to also urlencode on `%`
    
    Closes COUCHDB-2342

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/robertkowalski/couchdb-fauxton 
COUCHDB-2342--document-ids-are-not-encoded-rebase

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fauxton/pull/81.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #81
    
----
commit c951cb11301001e5fa6dc29d50538e190d24794b
Author: Robert Kowalski <[email protected]>
Date:   2014-10-06T07:47:26Z

    whitespace fixes

commit 6841514386c0fe34e6b210a354d1ea957659a77d
Author: Robert Kowalski <[email protected]>
Date:   2014-10-06T07:48:13Z

    Url-encode document-ids properly
    
     - modify the helper to also urlencode on `%`
    
    Closes COUCHDB-2342

----


> Document ids are not url encoded correctly
> ------------------------------------------
>
>                 Key: COUCHDB-2342
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2342
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Fauxton
>            Reporter: Garren Smith
>            Assignee: Robert Kowalski
>
> * Go to databases / my databases / new document
> * set the _id to "design%20foo"
> * click save
> * note that the _id has changed to "design foo". Expectation is that the _id 
> would be preserved as it is round-tripped to Couchdb (e.g. URL encoded to 
> design%2520foo where needed).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to