tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager StatusTransformer.java
Date Tue, 02 Mar 2004 16:24:53 GMT
remm        2004/03/02 08:24:52

  Modified:    webapps/manager/WEB-INF/classes/org/apache/catalina/manager
                        StatusTransformer.java
  Log:
  - Escape '?' in generated XML.
  - Submitted by Peter Lin.
  
  Revision  Changes    Path
  1.13      +17 -17    jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/StatusTransformer.java
  
  Index: StatusTransformer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/StatusTransformer.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- StatusTransformer.java	27 Feb 2004 14:59:07 -0000	1.12
  +++ StatusTransformer.java	2 Mar 2004 16:24:52 -0000	1.13
  @@ -429,7 +429,7 @@
                       writer.write("" + mBeanServer.getAttribute
                                    (pName, "requestBytesSent"));
                   } else {
  -                    writer.write("?");
  +                    writer.write("?");
                   }
                   writer.write("\"");
                   writer.write(" requestBytesReceived=\"");
  @@ -437,7 +437,7 @@
                       writer.write("" + mBeanServer.getAttribute
                                    (pName, "requestBytesReceived"));
                   } else {
  -                    writer.write("?");
  +                    writer.write("?");
                   }
                   writer.write("\"");
                   writer.write(" remoteAddr=\"" 
  @@ -461,27 +461,27 @@
                           writer.write(" currentQueryString=\"" 
                                        + queryString + "\"");
                       } else {
  -                        writer.write(" currentQueryString=\"?\"");
  +                        writer.write(" currentQueryString=\"?\"");
                       }
                       writer.write(" protocol=\"" 
                                    + filter(mBeanServer.getAttribute
                                             (pName, "protocol")) + "\"");
                   } else {
  -                    writer.write(" method=\"?\"");
  -                    writer.write(" currentUri=\"?\"");
  -                    writer.write(" currentQueryString=\"?\"");
  -                    writer.write(" protocol=\"?\"");
  +                    writer.write(" method=\"?\"");
  +                    writer.write(" currentUri=\"?\"");
  +                    writer.write(" currentQueryString=\"?\"");
  +                    writer.write(" protocol=\"?\"");
                   }
               } else {
  -                writer.write(" requestProcessingTime=\"?\"");
  -                writer.write(" requestBytesSent=\"?\"");
  -                writer.write(" requestBytesRecieved=\"?\"");
  -                writer.write(" remoteAddr=\"?\"");
  -                writer.write(" virtualHost=\"?\"");
  -                writer.write(" method=\"?\"");
  -                writer.write(" currentUri=\"?\"");
  -                writer.write(" currentQueryString=\"?\"");
  -                writer.write(" protocol=\"?\"");
  +                writer.write(" requestProcessingTime=\"?\"");
  +                writer.write(" requestBytesSent=\"?\"");
  +                writer.write(" requestBytesRecieved=\"?\"");
  +                writer.write(" remoteAddr=\"?\"");
  +                writer.write(" virtualHost=\"?\"");
  +                writer.write(" method=\"?\"");
  +                writer.write(" currentUri=\"?\"");
  +                writer.write(" currentQueryString=\"?\"");
  +                writer.write(" protocol=\"?\"");
               }
               writer.write(" />");
           }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message