Alexy Khrabrov <>

r842978, r842974, r842904

r842904 | brane | 2002-07-31 20:32:14 +0000 (Wed, 31 Jul 2002)

* subversion/mod_dav_svn/repos.c (dav_svn_get_resource): do not remove
the trailing slash for the root, /.

Patch by: Alexy Khrabrov <>
(Tweaked by me to protect against segfault.)
Suggested by: Greg Stein <>

r842974 | kfogel | 2002-08-06 16:00:01 +0000 (Tue, 06 Aug 2002)

Patch by: Alexy Khrabrov <>

* subversion/libsvn_subr/path.c
  (svn_path_is_url) Don't assume a URL must have 3 slashes, since that
  doesn't hold for top-level locations such as "",
  which should still be valid without a trailing slash.

r842978 | kfogel | 2002-08-06 22:31:22 +0000 (Tue, 06 Aug 2002)

Solve this problem:

When hosting SVN at the root of a (virtual) host with URI like, fed the command client wrong
properties, starting with //.  This was handled by a browser, but not
by the command-line svn, so 'svn ls' was
returning with Forbidden 403, as tried to read "//!svn/vcc/default",

Patch by: Alexy Khrabrov <>
(Tweaked by me.)

* subversion/mod_dav_svn/util.c
  (dav_svn_build_uri): If root_path is "/", just set it to just "", to
  avoid getting "//" later.

* subversion/mod_dav_svn/dav_svn.h 
  (struct dav_svn_repos): Tweak documentation for root_path field.