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

Re: svn 1.8.1 fails on underscore in the tunnel protocol

From: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 16 Aug 2013 23:29:26 +0200

On 16.08.2013 23:10, Eric Hall wrote:
> Hello-
> We have a custom tunnel protocol withrepository URLs of the form:
>
> svn+foo_bar://
>
> After upgrading from svn 1.7.x to 1.8.1, these URLs are considered
> invalid, giving an error of:
>
> svn: E170000: Illegal repository URL
>
> This occurs on an 'svn up' or an 'svn checkout'.
>
> Changing the tunnel protocol name to 'foobar' (i.e. drop the underscore)
> appears to work properly, both 'svn up' and 'svn checkout' work fine.
>
> Is this a bug, or should tunnel protocols not have underscores in them?

See RFC 3986, section 3.1:

http://www.ietf.org/rfc/rfc3986.txt

Underscores are not allowed in the URL scheme. It would appear that
allowing them was a bug in previous versions of Subversion.

-- Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2013-08-16 23:30:01 CEST

This is an archived mail posted to the Subversion Users mailing list.