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

Re: Interesting problem with ":" in mod_dav_svn XML output

From: Kalle Olavi Niemitalo <kon_at_iki.fi>
Date: 2005-10-26 21:53:01 CEST

Michael Sinz <Michael.Sinz@sinz.org> writes:

> Kalle Olavi Niemitalo wrote:
>> I think this is a bug. If Subversion does not allow slashes in
>> file names, it should say so in the error message, rather than
>> treat %2F as a directory separator.
> That is the problem - how would such a file ever be handled at the FS layer or
> the URI layer - the escaping/unescaping happens before the path is taken apart.

Well, if the interface of the URI unescaping code makes it
impossible to preserve the distinction between "%2F" and "/",
then I think the unescaper should allow just one of them,
presumably "/", and return an error if it sees the other.

The same applies to "%00" versus end of string.

  • application/pgp-signature attachment: stored
Received on Wed Oct 26 21:47:39 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.