larryi      2003/02/16 17:45:24

  Modified:    util/java/org/apache/tomcat/util/http Tag: coyote_10
                        Cookies.java
  Log:
  Port fix from HEAD.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.1   +3 -3      
jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/Cookies.java
  
  Index: Cookies.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/util/java/org/apache/tomcat/util/http/Cookies.java,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- Cookies.java      31 Dec 2001 18:20:05 -0000      1.2
  +++ Cookies.java      17 Feb 2003 01:45:24 -0000      1.2.2.1
  @@ -321,13 +321,13 @@
                continue;
            }
            if( equals( "$Path", bytes, startName, endName ) ) {
  -             sc.getPath().setBytes( bytes, startName, endName-startName );
  +                sc.getPath().setBytes( bytes, startValue, endValue-startValue );
            }
            if( equals( "$Domain", bytes, startName, endName ) ) {
  -             sc.getDomain().setBytes( bytes, startName, endName-startName );
  +                sc.getDomain().setBytes( bytes, startValue, endValue-startValue );
            }
            if( equals( "$Port", bytes, startName, endName ) ) {
  -             // sc.getPort().setBytes( bytes, startName, endName-startName );
  +                // sc.getPort().setBytes( bytes, startValue, endValue-startValue );
            }
        }
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to