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

SlikSVN 1.6.5 Bug - Backslash in password causes auth failure on Windows 7

From: Kevin Benton <kbcmdba_at_gmail.com>
Date: Wed, 9 Feb 2011 20:00:58 -0600

Login problems when committing changes to svn repository

In order to reproduce this issue, I used the following while checking in
changes to my GPL LICENSE file...

> svn ci -m "Removed instructions from LICENSE file." --username myuserid
--password "pphxC9k4\Q=bNL8:" --trust-server-cert --non-interactive LICENSE
...
svn: MKACTIVITY of
'/svnroot/phpjobseeker/!svn/act/7c893501-f9e4-ec41-9206-1ebc57d5f6e8':
authorization failed: Could not authenticate to server: rejected Basic
 challenge (https://phpjobseeker.svn.sourceforge.net)

Obviously, this is not only no longer the password I use (not even close),
but it's also not my userid. When I removed just the \ from the password, it
worked. Prior to that, I kept getting authentication failures. I've filed
this issue with SF asking they warn users when attempting to create
passwords with the \ character in them:
https://sourceforge.net/apps/trac/sourceforge/ticket/17375

Host is Windows 7. Problem also occurs in SVNKit with Eclipse (Helios SR1)
driving the repository (though it relies on the svn configuration saved by
SlikSVN). I did not have the same problem when using svn on Linux. I did not
try this on other versions of Windows.

I am using ...

svn, version 1.6.15 (SlikSvn/1.6.15) X64
   compiled Dec 17 2010, 15:25:54

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.apache.org/
This product includes software developed by CollabNet (
http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using
Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - with Cyrus SASL authentication
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using
serf.
  - handles 'http' scheme
  - handles 'https' scheme
Received on 2011-02-10 05:14:48 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.