Skip Menu |

This queue is for tickets about the SVN-Web CPAN distribution.

Report information
The Basics
Id: 32041
Status: resolved
Priority: 0/
Queue: SVN-Web

People
Owner: Nobody in particular
Requestors: mark [...] aufflick.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: SVN::Web fails to authenticate to https:// urls using saved certificate
I can use svn on the commandline and save the certificate (p)ermanently and login. SVN::Web will fail to match the certificate when run as the same user. The attached patch to Web.pm causes SVN::Client to load the stored auth data from ~/.subversion.
Subject: Web.pm.patch
--- SVN-Web-0.53/lib/SVN/Web.pm Sun Apr 29 12:22:51 2007 +++ Web.pm Tue Jan 1 20:09:02 2008 @@ -141,9 +141,14 @@ $repo_uri = "file://$repo_uri" if $repo_uri =~ m{^/}; eval { + my $client = SVN::Client->new( pool => $repospool ); + my $auth = $client->auth; + $REPOS{$repos}{uri} ||= $repo_uri; $REPOS{$repos}{ra} ||= SVN::Ra->new(url => $repo_uri, - pool => $repospool); + pool => $repospool, + auth => $auth, + ); }; if($@) {
On Tue Jan 01 23:20:06 2008, AUFFLICK wrote: Show quoted text
> I can use svn on the commandline and save the certificate (p)ermanently > and login. > > SVN::Web will fail to match the certificate when run as the same user. > > The attached patch to Web.pm causes SVN::Client to load the stored auth > data from ~/.subversion.
applied on HEAD https://github.com/djzort/SVN-Web, for 0.61