summaryrefslogtreecommitdiff
path: root/share/www/document.html
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-11-19 13:26:04 +0000
committerJan Lehnardt <jan@apache.org>2010-11-19 13:26:04 +0000
commit891bd8c96063c35a05be9d3d7c8647e1fec8c23e (patch)
tree242458917676cf96421b204ed99d35674fb83658 /share/www/document.html
parentc05c268204f6c848f08ddb248850fb1aa7acb6a9 (diff)
Undo overzealous escaping.
Patch by Gabriel Farrell. Closes COUCHDB-948. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1036832 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/document.html')
-rw-r--r--share/www/document.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/document.html b/share/www/document.html
index ed4fd4ee..b6f42018 100644
--- a/share/www/document.html
+++ b/share/www/document.html
@@ -42,9 +42,9 @@ specific language governing permissions and limitations under the License.
});
$(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();