larryi 2003/02/16 17:40:55
Modified: util/java/org/apache/tomcat/util/http Cookies.java
Log:
Fix to return values instead of the names.
Revision Changes Path
1.3 +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.3
diff -u -r1.2 -r1.3
--- Cookies.java 31 Dec 2001 18:20:05 -0000 1.2
+++ Cookies.java 17 Feb 2003 01:40:55 -0000 1.3
@@ -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]