rse 97/07/31 01:29:45
Modified: src Tag: APACHE_1_2_X CHANGES mod_auth_anon.c
Log:
mod_auth_anon logs multiple times
PR: 421, 868
Submitted by: Dean Gaudet
Reviewed by: Ralf S. Engelschall, Dirk v.Gulik, Ken Coar, Jim Jagielski
Revision Changes Path
No revision
No revision
1.286.2.35 +3 -0 apache/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache/src/CHANGES,v
retrieving revision 1.286.2.34
retrieving revision 1.286.2.35
diff -u -r1.286.2.34 -r1.286.2.35
--- CHANGES 1997/07/31 08:19:47 1.286.2.34
+++ CHANGES 1997/07/31 08:29:41 1.286.2.35
@@ -1,5 +1,8 @@
Changes with Apache 1.2.2
+ *) Anonymous_LogEmail was logging on each subrequest.
+ [Dean Gaudet] PR#421, PR#868
+
*) "force-response-1.0" now only applies to requests which are HTTP/1.0 to
begin with. "nokeepalive" now works for HTTP/1.1 clients. Added
"downgrade-1.0" which causes Apache to pretend it received a 1.0.
1.15.2.1 +1 -1 apache/src/mod_auth_anon.c
Index: mod_auth_anon.c
===================================================================
RCS file: /export/home/cvs/apache/src/mod_auth_anon.c,v
retrieving revision 1.15
retrieving revision 1.15.2.1
diff -u -r1.15 -r1.15.2.1
--- mod_auth_anon.c 1997/03/19 03:12:52 1.15
+++ mod_auth_anon.c 1997/07/31 08:29:42 1.15.2.1
@@ -239,7 +239,7 @@
(strpbrk(".",send_pw) != NULL))
)
) {
- if (sec->auth_anon_logemail) {
+ if (sec->auth_anon_logemail && r->prev == NULL && r->main == NULL) {
ap_snprintf(errstr, sizeof(errstr), "Anonymous: Passwd <%s> Accepted",
send_pw ? send_pw : "\'none\'");
log_error (errstr, r->server );