You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Gabriel Farrell (JIRA)" <ji...@apache.org> on 2010/11/15 17:09:14 UTC

[jira] Reopened: (COUCHDB-948) Breadcrumb doesn't need to be URI encoded

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

Gabriel Farrell reopened COUCHDB-948:
-------------------------------------


The change committed addresses the particular case of forward slashes in doc IDs, but you're still URI encoding anything else outside alphanumeric. A document ID such as "1+1=2" shows up as such in the doc listings on the database page, but in the breadcrumb on the document page it's "1%2B1%3D2".

Is there any reason to URI encode that text? It's a string in a <strong> element and in my tests it gets properly HTML escaped without wrapping it in encodeURIcomponent.

> Breadcrumb doesn't need to be URI encoded
> -----------------------------------------
>
>                 Key: COUCHDB-948
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-948
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Futon
>    Affects Versions: 1.1
>            Reporter: Gabriel Farrell
>            Priority: Trivial
>             Fix For: 1.0.2, 1.1
>
>         Attachments: noEncode.diff
>
>
> Introduced by github commit 871e2617 on 2010-11-02. When I go to the design doc "foo" for db "bob", breadcrumbs/nav shows "Overview > bob > _design%2Ffoo" when it should be "Overview > bob > _design/foo".

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