On 27.01.2015 20:30, Stefan Sperling wrote:
> 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

Let's be precise here: It's not "an extra slash" but "an empty authority
section in the URL". As I said on IRC, it's not svn_uri_canonicalize's
job to make sure the URL is valid, only that it's in a canonical form.

-- Brane

Reply via email to