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-4.0/catalina/src/share/org/apache/catalina/servlets CGIServlet.java
Date Thu, 15 Jan 2004 00:56:53 GMT
markt       2004/01/14 16:56:53

  Modified:    catalina/src/share/org/apache/catalina/servlets
                        CGIServlet.java
  Log:
  - Removing JDK1.4 dependency
  
  Revision  Changes    Path
  1.16      +8 -8      jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java
  
  Index: CGIServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets/CGIServlet.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- CGIServlet.java	17 Dec 2003 22:06:34 -0000	1.15
  +++ CGIServlet.java	15 Jan 2004 00:56:53 -0000	1.16
  @@ -1583,7 +1583,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