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

Re: Perl Bindings: Assertion svn_uri_is_canonical failed

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 27 Jan 2015 20:30:57 +0100

On Tue, Jan 27, 2015 at 07:52:49PM +0100, Stefan Sperling wrote:
> prints "http:///svn.example.com/foo/bar"
> (Why 3 slashes after "http:" instead of 2? I don't know. It seems our test
> suite doesn't cover this case. I'm not sure what's expected.)

This turns out to be expected. Whether or not such a URL works depends
on the scheme. An extra slash is specified for "file://" but not "http://".
svn_uri_canonicalize() only cares about syntax, not semantics.
http://colabti.org/irclogger/irclogger_log/svn-dev?date=2015-01-27#l408
Received on 2015-01-27 20:33:56 CET

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.