tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets CGIServlet.java
Date Thu, 15 Jan 2004 00:57:59 GMT
markt       2004/01/14 16:57:59

  Modified:    catalina/src/share/org/apache/catalina/servlets
                        CGIServlet.java
  Log:
  - Removing JDK1.4 dependency
  
  Revision  Changes    Path
  1.12      +8 -8      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java
  
  Index: CGIServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- CGIServlet.java	5 Jan 2004 20:40:22 -0000	1.11
  +++ CGIServlet.java	15 Jan 2004 00:57:59 -0000	1.12
  @@ -1569,7 +1569,7 @@
                           arg.append("=");
                           v = java.net.URLEncoder.encode(v);
                           arg.append(v);
  -                        if (arg.indexOf(" ") < 0) {
  +                        if (arg.toString().indexOf(" ") < 0) {
                               cmdAndArgs.append(arg);
                           } else {
                               // Spaces used as delimiter, so need to use quotes
  
  
  

---------------------------------------------------------------------
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