cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/util NetUtils.java
Date Mon, 17 Nov 2003 03:00:13 GMT
vgritsenko    2003/11/16 19:00:13

  Modified:    src/java/org/apache/cocoon/util NetUtils.java
  Log:
  oops: fix a bug
  
  Revision  Changes    Path
  1.8       +2 -2      cocoon-2.1/src/java/org/apache/cocoon/util/NetUtils.java
  
  Index: NetUtils.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/util/NetUtils.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- NetUtils.java	16 Nov 2003 00:52:08 -0000	1.7
  +++ NetUtils.java	17 Nov 2003 03:00:13 -0000	1.8
  @@ -460,7 +460,7 @@
           }
           
           StringBuffer buffer = new StringBuffer(uri);
  -        if (uri.indexOf('&') != -1) {
  +        if (uri.indexOf('?') == -1) {
               buffer.append('?');
           } else {
               buffer.append('&');
  
  
  

Mime
View raw message