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

Re: Unnecessary path encoding in svnserve

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-08-03 20:40:37 CEST

On Tue, 2004-08-03 at 14:15, Shun-ichi GOTO wrote:
> 1. When the encoding is failed, coninue checking with shorter path
> removing trailing element instead of giving up whole of searching.

Yeah, so it would be possible to solve the problem by:

  * Making the svn_repos_find_root_path() detect encoding failures and
continue, and:

  * Making svnserve's find_repos() use svn_path_join() instead of
apr_filepath_merge(). To prevent the client from escaping from the
repository root, we'd have to check for ".." path elements separately.

If someone wants to file an issue about this, go for it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 3 20:41:13 2004

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.