couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1035230 - /couchdb/branches/1.0.x/share/www/document.html
Date Mon, 15 Nov 2010 11:37:46 GMT
Author: jan
Date: Mon Nov 15 11:37:46 2010
New Revision: 1035230

URL: http://svn.apache.org/viewvc?rev=1035230&view=rev
Log:
Correct display for docs with %2f in their ID. Closes COUCHDB-948.

Modified:
    couchdb/branches/1.0.x/share/www/document.html

Modified: couchdb/branches/1.0.x/share/www/document.html
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/share/www/document.html?rev=1035230&r1=1035229&r2=1035230&view=diff
==============================================================================
--- couchdb/branches/1.0.x/share/www/document.html [utf-8] (original)
+++ couchdb/branches/1.0.x/share/www/document.html [utf-8] Mon Nov 15 11:37:46 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();



Mime
View raw message