Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 423169C4F for ; Wed, 22 Feb 2012 18:16:17 +0000 (UTC) Received: (qmail 20483 invoked by uid 500); 22 Feb 2012 18:16:16 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 20433 invoked by uid 500); 22 Feb 2012 18:16:16 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 20425 invoked by uid 99); 22 Feb 2012 18:16:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 18:16:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2012 18:16:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6FFF1334CAF for ; Wed, 22 Feb 2012 18:15:49 +0000 (UTC) Date: Wed, 22 Feb 2012 18:15:49 +0000 (UTC) From: "Sam Bisbee (Commented) (JIRA)" To: dev@couchdb.apache.org Message-ID: <2131872784.5206.1329934549460.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1634597030.3315.1315494909279.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (COUCHDB-1275) Futon's recent database list doesn't decode slashes in database names MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/COUCHDB-1275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13213814#comment-13213814 ] Sam Bisbee commented on COUCHDB-1275: ------------------------------------- Ah! Gotcha. :) Yeah, that crossed over into CSRF territory for me. > Futon's recent database list doesn't decode slashes in database names > --------------------------------------------------------------------- > > Key: COUCHDB-1275 > URL: https://issues.apache.org/jira/browse/COUCHDB-1275 > Project: CouchDB > Issue Type: Bug > Components: Futon > Affects Versions: 1.1 > Reporter: Jan Lehnardt > Priority: Minor > > Create a database with a slash in it, futon will go to the database view automatically and add it to the recent databases list. the list will display the encoded %2f instead of the / > Here's a quick fix: http://friendpaste.com/1WORPAfSY5MUyoisaAQtZB > I tested it for XSS but I may have overlooked something and I'd appreciate a review. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira