diff options
author | erwin <erwin@FreeBSD.org> | 2003-12-09 12:17:58 +0000 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2003-12-09 12:17:58 +0000 |
commit | 3ed5206e5a0eb58d00774e5e54aa7595586177fa (patch) | |
tree | 54bd791c3392a8b749b9aedff3c9ae35961965f0 /www/mod_auth_remote/files | |
parent | 05c3105cc00edbd1e72c9b99993a0c38105402df (diff) | |
download | FreeBSD-ports-3ed5206e5a0eb58d00774e5e54aa7595586177fa.zip FreeBSD-ports-3ed5206e5a0eb58d00774e5e54aa7595586177fa.tar.gz |
- Fix malformed request which prevents from authenticate agaist Zope servers
Notice by: Morten W. Petersen" <morten@nidelven-it.no>
Obtained from: srp@grex.org (author)
- Port changes:
- use USE_APACHE
- use PORTDOCS
- fix install/deinstall behaviour with package install
PR: 60030
Submitted by: maintainer
Diffstat (limited to 'www/mod_auth_remote/files')
-rw-r--r-- | www/mod_auth_remote/files/patch-mod_auth_remote.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/mod_auth_remote/files/patch-mod_auth_remote.c b/www/mod_auth_remote/files/patch-mod_auth_remote.c new file mode 100644 index 0000000..1ce13b1 --- /dev/null +++ b/www/mod_auth_remote/files/patch-mod_auth_remote.c @@ -0,0 +1,20 @@ +--- mod_auth_remote.c.orig Tue Jan 21 16:44:53 2003 ++++ mod_auth_remote.c Sun Dec 7 22:42:36 2003 +@@ -141,8 +141,8 @@ + itemp = strlen(user_pass); + encoded = apr_palloc(r->pool, (((itemp+2)/3)*4)+2); + apr_base64_encode(encoded, user_pass, itemp); +- req_b = apr_pstrcat(r->pool, "HEAD ", conf->remote_uri," HTTP/1.0 ", +- "\nAuthorization: Basic ",encoded,CRLF,CRLF,NULL); ++ req_b = apr_pstrcat(r->pool, "HEAD ", conf->remote_uri," HTTP/1.0", ++ CRLF,"Authorization: Basic ",encoded,CRLF,CRLF,NULL); + bytes = strlen(req_b); + val = apr_send(socket, req_b, &bytes); + if(val != APR_SUCCESS) +@@ -194,4 +194,4 @@ + NULL, + auth_remote_cmds, + register_hooks +-}; +\ No newline at end of file ++}; |