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

Re: Can't checkout repository with space in its name over http

From: John Szakmeister <john_at_szakmeister.net>
Date: 2004-01-08 12:39:11 CET

On Thursday 08 January 2004 00:26, kfogel@collab.net wrote:
> [snip]
> > The most interesting error message I see is that apache is looking for a
> > file called 'F:\Subversion Repositories/My/format'. I imagine it is
> > supposed to be looking for 'F:\Subversion Repositories/My
> > Documents/format'.

That is an interesting message indeed! :-)

I've found where the problem occurs... the problem is that I don't understand
enough about mod_dav_svn to fix this yet.

The problem is that dav_svn_get_resource() is being called and r->uri is
incorrect... it's being truncated where the space is. So, I figure there is
another problem where we are not coverting to a URI correctly. Well, after
some debugging I hit upon svn_ra_dav__get_one_prop() which is being called by
svn_ra_dav__get_baseline_props(). Turns out that vcc->data is not URI
encoded, which eventually causes the incorrect URI in mod_dav_svn. So, I
patched in a little fix for it, and then it ends up fetching baseline, which
also in not URI-encoded.

So the problem is a little bit deeper, and I think I'm going to leave this
problem to someone who better understands what is going on.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 8 12:44:20 2004

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

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