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

RE: Check out problem because of alleged problematic URL

From: Hirschberg, Benyamin <BHirschberg_at_nds.com>
Date: Mon, 7 Jun 2010 09:18:55 +0300

I'm using "neon 0.28.3". According to the release history it doesn't seem to be particularly old.

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2010b_at_ryandesign.com]
Sent: Sunday, June 06, 2010 8:57 PM
To: Daniel Shahaf
Cc: Hirschberg, Benyamin; users_at_subversion.apache.org
Subject: Re: Check out problem because of alleged problematic URL

On Jun 6, 2010, at 11:39, Daniel Shahaf wrote:

> Hirschberg, Benyamin wrote on Sun, 6 Jun 2010 at 16:49 -0000:
>> [benyamin@ada-srp ~]$ svn checkout http://ada-srp/kr/svn/trunk/ kr_repos
>> svn: URL 'http://ada-srp/kr/svn/trunk' is malformed or the scheme or host or path is missing
> That error message comes from neon's ne_uri_parse(). With a client using
> serf, or another version of neon, the error might disappear.
> [[[
> /* from libsvn_ra_neon/session.c */
> if (ne_uri_parse(url, uri)
> || uri->host == NULL || uri->path == NULL || uri->scheme == NULL)
> {
> ne_uri_free(uri);
> return svn_error_createf(SVN_ERR_RA_ILLEGAL_URL, NULL,
> _("URL '%s' is malformed or the "
> "scheme or host or path is missing"), url);
> }
> ]]]

Reading that snippet of code, I don't understand why the error would be triggered. It says it should only occur if the host, path or scheme are null. In the URL supplied by the user, it seems clear that the host is meant to be "ada-srp", the path is "/kr/svn/trunk/ kr_repos" and the scheme is "http:" so I don't see the problem.

What version of neon are you using, Benjamin?

This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster_at_nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com
Received on 2010-06-07 08:19:32 CEST

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.