Sebastian Dransfeld <>


r863178 | malcolm | 2007-01-19 16:16:56 +0000 (Fri, 19 Jan 2007)

ra_dav: Make sure that requests always use a path-absolute relative URL.

We currently pass a mixture of absolute and relative URLs to Neon, and
using the absolute ones as arguments in the request can cause problems
in a few odd cases.  Fix this by ensuring that Neon always sees a
relative URL.

* subversion/libsvn_ra_dav/util.c
  (path_from_url): New helper function to derive a path-absolute relative URL.
  (svn_ra_dav__request_create): Create the Neon request using the path-absolute
    relative URL instead of whatever was passed to this function.

Found by: Sebastian Dransfeld <>