www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Youichirou Koga <y-k...@apache.or.jp>
Subject mod_status/7025: "?auto" request shows some machine unreadable messages
Date Thu, 04 Jan 2001 02:59:28 GMT

>Number:         7025
>Category:       mod_status
>Synopsis:       "?auto" request shows some machine unreadable messages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jan 03 19:00:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     y-koga@apache.or.jp
>Release:        1.3.15-dev and before
>Organization:
apache
>Environment:
FreeBSD 4.2-STABLE, etc.
>Description:
#I reported this problem on 30/Dec/2000 as PR#7021, but it has been overwritten another PR.

"?auto" request shows some machine unreadable messages:
<hr>To obtain a full report with current status information you need to use the <code>ExtendedStatus
On</code> directive.
>How-To-Repeat:
get /server-status?auto
>Fix:
Index: src/modules/standard/mod_status.c
===================================================================
RCS file: /home/y-koga/work/cvs/apache-1.3-cvs/src/modules/standard/mod_status.c,v
retrieving revision 1.117
diff -u -r1.117 mod_status.c
--- src/modules/standard/mod_status.c	2000/12/13 05:10:41	1.117
+++ src/modules/standard/mod_status.c	2000/12/30 15:07:58
@@ -713,9 +713,10 @@
 
     } else {
 
-    ap_rputs("<hr>To obtain a full report with current status information ", r);
-    ap_rputs("you need to use the <code>ExtendedStatus On</code> directive. \n",
r);
-
+	if (!short_report) {
+	    ap_rputs("<hr>To obtain a full report with current status information ", r);
+	    ap_rputs("you need to use the <code>ExtendedStatus On</code> directive.
\n", r);
+	}
     }
 
     if (!short_report) {

>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message