couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1036833 - in /couchdb/branches/1.0.x: THANKS share/www/database.html share/www/document.html
Date Fri, 19 Nov 2010 13:26:31 GMT
Author: jan
Date: Fri Nov 19 13:26:30 2010
New Revision: 1036833

URL: http://svn.apache.org/viewvc?rev=1036833&view=rev
Log:
Undo overzealous escaping.

Patch by Gabriel Farrell.

Closes COUCHDB-948.

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

Modified: couchdb/branches/1.0.x/THANKS
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/THANKS?rev=1036833&r1=1036832&r2=1036833&view=diff
==============================================================================
--- couchdb/branches/1.0.x/THANKS (original)
+++ couchdb/branches/1.0.x/THANKS Fri Nov 19 13:26:30 2010
@@ -68,5 +68,6 @@ suggesting improvements or submitting ch
  * Dale Harvey <dale@arandomurl.com>
  * Juuso Väänänen <juuso@vaananen.org>
  * Benjamin Young <byoung@bigbluehat.com>
+ * Gabriel Farrell <gsf747@gmail.com>
 
 For a list of authors see the `AUTHORS` file.

Modified: couchdb/branches/1.0.x/share/www/database.html
URL: http://svn.apache.org/viewvc/couchdb/branches/1.0.x/share/www/database.html?rev=1036833&r1=1036832&r2=1036833&view=diff
==============================================================================
--- couchdb/branches/1.0.x/share/www/database.html [utf-8] (original)
+++ couchdb/branches/1.0.x/share/www/database.html [utf-8] Fri Nov 19 13:26:30 2010
@@ -37,7 +37,7 @@ specific language governing permissions 
 
       $(function() {
         if (page.redirecting) return;
-        $("h1 strong").html('<a href="?' + page.db.name + '">' + page.db.name + '</a>');
+        $("h1 strong").text(page.db.name);
         var viewPath = page.viewName || "_all_docs";
         if (viewPath != "_temp_view" && viewPath != "_design_docs") {
           $("h1 a.raw").attr("href", "/" + encodeURIComponent(page.db.name) +

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=1036833&r1=1036832&r2=1036833&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] Fri Nov 19 13:26:30 2010
@@ -42,9 +42,9 @@ specific language governing permissions 
       });
 
       $(function() {
-        $("h1 a.dbname").text(encodeURIComponent(page.dbName))
+        $("h1 a.dbname").text(page.dbName)
           .attr("href", "database.html?" + encodeURIComponent(page.db.name));
-        $("h1 strong").text(encodeURIComponent(page.docId).replace(/%2[Ff]/, "/"));
+        $("h1 strong").text(page.docId);
         $("h1 a.raw").attr("href", "/" + encodeURIComponent(page.db.name) +
           "/" + encodeURIComponent(page.docId));
         page.updateFieldListing();



Mime
View raw message