This commit is contained in:
parent
81749cbe87
commit
0f78dc6df9
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 3 11:26:50 CET 2008 - olh@suse.de
|
||||
|
||||
- fix bug in digest domain parameter handling to fix svn commit
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 28 22:06:13 CET 2008 - crrodriguez@suse.de
|
||||
|
||||
|
18
neon.digest.patch
Normal file
18
neon.digest.patch
Normal file
@ -0,0 +1,18 @@
|
||||
---
|
||||
src/ne_auth.c | 5 +----
|
||||
1 file changed, 1 insertion(+), 4 deletions(-)
|
||||
|
||||
--- a/src/ne_auth.c
|
||||
+++ b/src/ne_auth.c
|
||||
@@ -819,10 +819,7 @@ static int inside_domain(auth_session *s
|
||||
|
||||
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",
|
@ -15,13 +15,14 @@ Name: neon
|
||||
BuildRequires: libexpat-devel libopenssl-devel openssl zlib-devel
|
||||
Summary: An HTTP and WebDAV Client Library
|
||||
Version: 0.28.0
|
||||
Release: 5
|
||||
Release: 7
|
||||
License: GPL v2 or later
|
||||
Group: Development/Libraries/Other
|
||||
Url: http://www.webdav.org/neon
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: http://www.webdav.org/neon/neon-%{version}.tar.bz2
|
||||
Patch0: neon-0.27.2-bloat.patch
|
||||
Patch1: neon.digest.patch
|
||||
|
||||
%description
|
||||
neon is an HTTP and WebDAV client library with a C interface.
|
||||
@ -134,6 +135,7 @@ Authors:
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
rm -f aclocal.m4 ltmain.sh
|
||||
@ -184,6 +186,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pkgconfig/neon.pc
|
||||
|
||||
%changelog
|
||||
* Mon Mar 03 2008 olh@suse.de
|
||||
- fix bug in digest domain parameter handling to fix svn commit
|
||||
* Thu Feb 28 2008 crrodriguez@suse.de
|
||||
- run the test suite to detect any possible regression
|
||||
* Fri Feb 15 2008 crrodriguez@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user