tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amy...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardServer.java
Date Fri, 03 Jan 2003 19:47:46 GMT
amyroh      2003/01/03 11:47:46

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardServer.java
  Log:
  Port change.
  
  Revision  Changes    Path
  1.9       +6 -9      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardServer.java
  
  Index: StandardServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardServer.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- StandardServer.java	3 Jan 2003 02:10:56 -0000	1.8
  +++ StandardServer.java	3 Jan 2003 19:47:46 -0000	1.9
  @@ -883,11 +883,8 @@
               } else if (c == '"') {
                   filtered.append(""");
               } else if (c == '&') {
  -                char s1 = input.charAt(i+3);
  -                char s2 = input.charAt(i+4);
  -                char s3 = input.charAt(i+5);
  -                if (((s1 == ';') || (s2 == ';')) || (s3 == ';')) {
  -                    // do not convert if it's already in converted form
  +                int j = input.indexOf(";", i);
  +                if (j > 0) {
                       filtered.append(c);
                   } else {
                       filtered.append("&");
  
  
  

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


Mime
View raw message