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

Re: incomplete http authentication with svn 1.5 and neon 0.28

From: Joe Orton <jorton_at_redhat.com>
Date: Fri, 29 Feb 2008 16:10:28 +0000

On Fri, Feb 29, 2008 at 04:39:26PM +0100, Olaf Hering wrote:
> Commiting works with https://svn.suse.de, an internal server.

Thanks. This looks like a neon bug in the Digest "domain" parameter
handling (which is new in 0.28). Can you try this neon patch:

--- src/ne_auth.c (revision 1384)
+++ src/ne_auth.c (working copy)
@@ -820,9 +820,7 @@
     for (n = 0; n < sess->ndomains && !inside; n++) {
         const char *d = sess->domains[n];
         
- inside = (d[strlen(d)-1] == '/'
- && strncmp(uri.path, d, strlen(d)) == 0)
- || strcmp(d, uri.path) == 0;
+ inside = strncmp(uri.path, d, strlen(d)) == 0;
     }
     
     NE_DEBUG(NE_DBG_HTTPAUTH, "auth: '%s' is inside auth domain: %d.\n",

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-29 17:11:05 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.