couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <nsla...@apache.org>
Subject Re: slash escaping (was 0.9.0 Release)
Date Thu, 11 Dec 2008 22:09:09 GMT
On Fri, Dec 12, 2008 at 08:33:38AM +1030, Antony Blakey wrote:
> Why not just do the MD5 and be done with it - erlang:md5(Data) -> Digest ? You
> remove any limit on the name of a design document, or, for that matter, a
> database (well, it can't be empty, but then that isn't a name, and obeys
> 0,1,∞). I think you've already agreed that URL encoding is a good idea, so
> this is hardly much effort.

Because this introduces an inconsistency on the file system.

Some databases are held by name, some by hash.

This disagrees with me on æsthetic grounds.

-- 
Noah Slater, http://tumbolia.org/nslater

Mime
View raw message