[ https://issues.apache.org/jira/browse/COUCHDB-748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Bonser updated COUCHDB-748: -------------------------------- Attachment: escape_id.patch Use the html() function instead of the text() function, and escape the ID. > Keys and document IDs are improperly escaped in document list > ------------------------------------------------------------- > > Key: COUCHDB-748 > URL: https://issues.apache.org/jira/browse/COUCHDB-748 > Project: CouchDB > Issue Type: Bug > Components: Futon > Reporter: Paul Bonser > Priority: Minor > Attachments: escape_id.patch > > > In the Futon document list, as generated by > $.futon.CouchDatabasePage.updateDocumentListing, "<", ">", and "&" are > double-encoded for row keys and left unencoded for document IDs. > The double-encoding is caused by the fact that the jQuery text() function > encodes those characters when they were already encoded by > $.futon.formatJson, and the lack of encoding is caused by simply using the > raw id. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.