[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Supporting non-XML-safe pathnames

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2004-11-24 22:55:19 CET

Ben Collins-Sussman wrote:

> On Nov 24, 2004, at 12:00 AM, VK Sameer wrote:
>> While testing the fix, I found out that Linux allows creation of
>> directories and files with control-characters in their names. The
>> problem now seems to be that Subversion doesn't support this, since an
>> un-encoded pathname can corrupt the entries file. Since Subversion
>> shouldn't limit the OS capabilities arbitrarily,
> ...why not?
> I mean, is there an actual demand to support control characters? Are
> linux users going to complain if they discover that Subversion
> arbitrarily limits this one particular feature?
> Are control characters even representable in UTF8, once the filename
> goes into the repository?
> IMO, this seems like an awful lot of extra complexity for a feature
> that I don't think anyone is going to care about.

Finally the voice of reason.

Yes, let's ban control characters from SVN filenames. We don't even have
to do any extra checking, simply stop catering to the weird idea and
document that it's Not Done.

-- Brane

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 24 22:56:04 2004

This is an archived mail posted to the Subversion Dev mailing list.