You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Guenter Knauf <ef...@gmx.net> on 2004/03/16 04:14:55 UTC
[PATCH] ./jk/native2/common/jk_worker_status.c - dont print style
with text/plain
Hi,
this simple patch supresses the output of the style when we are in text/plain mode.
========================================================================
--- jk_worker_status.c.orig Mon Mar 15 16:04:08 2004
+++ jk_worker_status.c Tue Mar 16 04:02:24 2004
@@ -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.
*/
Guenter.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
Re: [PATCH] ./jk/native2/common/jk_worker_status.c - dont print style
with text/plain
Posted by Henri Gomez <hg...@apache.org>.
Commited
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org