hgomez 2004/03/16 00:47:25
Modified: jk/native2/common jk_worker_status.c
Log:
Supresses the output of the style when we are in text/plain mode
Provided by Guenter Knauf
Revision Changes Path
1.58 +4 -1 jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c
Index: jk_worker_status.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_status.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -r1.57 -r1.58
--- jk_worker_status.c 15 Mar 2004 11:05:26 -0000 1.57
+++ jk_worker_status.c 16 Mar 2004 08:47:25 -0000 1.58
@@ -953,7 +953,10 @@
s->head(env, s );
- s->jkprintf(env, s, "<style>%s</style>\n", DEFAULT_CSS );
+ if( !(s->query_string != NULL &&
+ strncmp( s->query_string, "qry=", 4) == 0 ) ) {
+ s->jkprintf(env, s, "<style>%s</style>\n", DEFAULT_CSS );
+ }
/** Process the query string.
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]