tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billbar...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/java/org/apache/jk/server JkCoyoteHandler.java
Date Tue, 30 Sep 2003 04:18:45 GMT
billbarker    2003/09/29 21:18:45

  Modified:    jk/java/org/apache/jk/server Tag: coyote_10
                        JkCoyoteHandler.java
  Log:
  port patch.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.32.2.4  +5 -1      jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkCoyoteHandler.java
  
  Index: JkCoyoteHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkCoyoteHandler.java,v
  retrieving revision 1.32.2.3
  retrieving revision 1.32.2.4
  diff -u -r1.32.2.3 -r1.32.2.4
  --- JkCoyoteHandler.java	30 Jul 2003 02:27:01 -0000	1.32.2.3
  +++ JkCoyoteHandler.java	30 Sep 2003 04:18:45 -0000	1.32.2.4
  @@ -299,7 +299,11 @@
               ep.setNote( tmpMessageBytesNote, mb );
           }
           String message=res.getMessage();
  -        if( message==null ) message= HttpMessages.getMessage(res.getStatus());
  +        if( message==null ){
  +            message= HttpMessages.getMessage(res.getStatus());
  +        } else {
  +            message = message.replace('\n', ' ').replace('\r', ' ');
  +        }
           mb.setString( message );
           c2b.convert( mb );
           msg.appendBytes(mb);
  
  
  

Mime
View raw message