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

Re: svn commit: r12273 - trunk/subversion/libsvn_client

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-12-15 21:35:42 CET

On Fri, 2004-12-10 at 13:50, kfogel@tigris.org wrote:
> + /* Split 'url' to get the parent, but split 'path_or_url' to get
> + the basename. We're going to use the former as a URL, but
> + the latter as a non-URL. If any URI-encoding happened in the
> + earlier conversion from 'path_or_url' to 'url', we want the
> + effects reflected in 'parent_url' but not in 'base_name'. */
> + svn_path_split (url, &parent_url, NULL, pool);
> + svn_path_split (path_or_url, NULL, &base_name, pool);

If path_or_url is a URL, won't it (at least potentially) contain encoded
characters right from the get go?

In other words, won't

  svn ls -v http://.../path/to/foo%20bar

still fail with this fix?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 15 21:37:12 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.