Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 78459 invoked from network); 14 Dec 2008 02:34:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2008 02:34:16 -0000 Received: (qmail 63297 invoked by uid 500); 14 Dec 2008 02:34:28 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 63269 invoked by uid 500); 14 Dec 2008 02:34:28 -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 63258 invoked by uid 99); 14 Dec 2008 02:34:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Dec 2008 18:34:28 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of antony.blakey@gmail.com designates 209.85.142.189 as permitted sender) Received: from [209.85.142.189] (HELO ti-out-0910.google.com) (209.85.142.189) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Dec 2008 02:34:06 +0000 Received: by ti-out-0910.google.com with SMTP id a1so1311907tib.3 for ; Sat, 13 Dec 2008 18:33:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=Ug7sF4X9vJJrTb2LN7aT4SAMug99sZtln+txiNYfcpM=; b=N9MSBDlu71GPi/GaoieKWGpZuw7f2Ac4b9aGzD9PfPEmqFRFhOuQdBAb5JjtQhvRFP 1p5lC09xuFa5pnLbzMRB98a+1Vink7Qrn3Dwo29MGYUwu8cgv/qosO3fxzdyK62neZ/I xBVFWIQh2WsiZuG867mnjj63+aDzQuJM27vBc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=B/5XV5jfMFGHpQdIAiYDptkwrA7YO2liQTneMOCbI+MOfkeR5SwT0AR02hr7Iw1bbl jQsAsCxJSTGIGkiWQPJ2Y+MduxAf+RLHgZcdggDTIOBVzjEgPvYs/txnXJx556u2ptJV k6S0yUIuZk3kfLGlgET7B20hkmGmmnuXVtDNk= Received: by 10.110.41.17 with SMTP id o17mr4334226tio.48.1229222025207; Sat, 13 Dec 2008 18:33:45 -0800 (PST) Received: from ?192.168.0.16? (ppp121-45-41-103.lns10.adl2.internode.on.net [121.45.41.103]) by mx.google.com with ESMTPS id 14sm4162872tim.10.2008.12.13.18.33.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 13 Dec 2008 18:33:44 -0800 (PST) Message-Id: <5F424E99-08FD-4441-B591-F0CFD16200A8@gmail.com> From: Antony Blakey To: dev@couchdb.apache.org In-Reply-To: Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Re: slash escaping (was 0.9.0 Release) Date: Sun, 14 Dec 2008 13:03:38 +1030 References: <0EC6A3E0-15BA-4BBB-A0A3-9ED9D04E3C40@apache.org> <716BFD51-C24A-438E-B9CA-DD0406F80D45@gmail.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on apache.org I have published a branch that uses a new filesystem layout that =20 eliminates all restrictions on database and view names at: http://www.github.com/AntonyBlakey/couchdb/tree/escaped_filenames It uses a structure like the following: / 376256767373932aafbad43539978a53.couch/ data name fe58718fe13cd483fdc66fb4b2c512b1.couch/ data name b84dd25a153afb6a7412ab9c20413210.view/ data name The hex strings are MD5 digests of the database/view name. The =20 contents of each 'name' file is the UTF-8 encoding of the database or =20= design document responsible for the directory. It seems to handle everything except a slash in the name of a design =20 document, but that's an issue internal to the view code, rather than =20 filesystem issue. I am tracking it down. There may also be Futon =20 issues, although I've so far only seen the single aforementioned issue. Code opinions requested so that I can get this to a point suitable for =20= gatekeeper consideration. Antony Blakey -------------------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 Always have a vision. Why spend your life making other people=92s = dreams? -- Orson Welles (1915-1985)=