Username in Repository URL with Serf/ra_serf
From: Simon Wilson <sepwilson_at_gmail.com>
Date: Mon, 9 Sep 2013 16:16:12 +0200
Subversion 1.8 throws up errors when I specify HTTP/HTTPS URLs that contain usernames to svn, i.e.
svn --username user ls https://server.com/repos/project/
works fine but
svn ls https://user@server.com/repos/project/
results in errors. The same URL worked fine with Neon in 1.7 and older. The exact errors depend on the server I am contacting and the protocol used (HTTP or HTTPS).
For example, with a repository hosted with Beanstalk (www.beanstalkapp.com)
svn ls https://user@domain.svn.beanstalkapp.com/repos
I get the following errors:
svn: E175002: Unable to connect to a repository at URL 'https://user@domain.svn.beanstalkapp.com/repos'
Attempting a similar request with CloudForge:
svn ls https://user@domain.svn.cloudforge.com/repos
I get the following errors:
svn: E175002: Unexpected HTTP status 405 'Method Not Allowed' on '/repos'
In both cases the request works as expected when the user is removed from the URL.
I have been able to successfully connect to an internal test server via HTTP with basic authentication but attempting the same request via HTTPS with client certificate-based authentication results in the following errors:
svn: E175002: Unable to connect to a repository at URL 'https://user@192.168.4.240/repos'
These errors are output *after* the client certificate path and passphrase prompts.
The fact that 1.7/Neon supported such URLs indicates that this is a significant regression in 1.8. Can anyone throw any light on the cause of these errors? Is this a known issue with Serf/ra_serf?
Some additional info:
- This behavior is not specific to svn 1.8: 1.7.10 generates the same errors when ra_serf is enabled.
Many thanks,
|
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.