You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2021/08/14 11:23:45 UTC

Re: "util.c' line 96: assertion failed" when repository URL has "username:password@"

Pavel Lyalyakin wrote on Tue, Jul 27, 2021 at 23:02:04 +0300:
> Is it supported to enter "username:password@" in the URL with the SVN
> command-line client?
> 

I think that's supported, but not recommended because on some platforms
argv are visible to all users.

In any case, invalid user input should never result in an assert, so
this is a bug, period.

Sorry for our late answer.

Daniel

> The SVN client crashes when I run the following command:
> [[[
> svn info https://username:password@svn.apache.org/repos/asf/subversion/trunk
> ]]]
> 
> [[[
> svn: E235000: In file '..\..\..\subversion\libsvn_client\util.c' line 96:
> assertion failed (svn_uri__is_ancestor(pathrev->repos_root_url, url))
> ]]]
> 
> svn, version 1.14.1 (r1886195) on Windows.
> 
> Found this at https://stackoverflow.com/q/68502915/761095.