You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2010/11/15 12:37:02 UTC
svn commit: r1035229 - /couchdb/trunk/share/www/document.html
Author: jan
Date: Mon Nov 15 11:37:02 2010
New Revision: 1035229
URL: http://svn.apache.org/viewvc?rev=1035229&view=rev
Log:
Correct display for docs with %2f in their ID. Closes COUCHDB-948.
Modified:
couchdb/trunk/share/www/document.html
Modified: couchdb/trunk/share/www/document.html
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/document.html?rev=1035229&r1=1035228&r2=1035229&view=diff
==============================================================================
--- couchdb/trunk/share/www/document.html [utf-8] (original)
+++ couchdb/trunk/share/www/document.html [utf-8] Mon Nov 15 11:37:02 2010
@@ -44,7 +44,7 @@ specific language governing permissions
$(function() {
$("h1 a.dbname").text(encodeURIComponent(page.dbName))
.attr("href", "database.html?" + encodeURIComponent(page.db.name));
- $("h1 strong").text(encodeURIComponent(page.docId));
+ $("h1 strong").text(encodeURIComponent(page.docId).replace(/%2[Ff]/, "/"));
$("h1 a.raw").attr("href", "/" + encodeURIComponent(page.db.name) +
"/" + encodeURIComponent(page.docId));
page.updateFieldListing();