mmanders 01/10/18 07:06:23 Modified: src/share/org/apache/tomcat/util/http Cookies.java Log: Fixed a problem where a value containing a space was truncated at the space. The RFC is somewhat vague in this reguard, but this patch matches functionality of other versions of Tomcat and other servlet conainters. Fixes bug 4237. Revision Changes Path 1.10 +1 -1 jakarta-tomcat/src/share/org/apache/tomcat/util/http/Cookies.java Index: Cookies.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/http/Cookies.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- Cookies.java 2001/07/19 05:51:30 1.9 +++ Cookies.java 2001/10/18 14:06:23 1.10 @@ -357,7 +357,7 @@ { while( off < end ) { byte b=bytes[off]; - if( b==' ' || b==';' || b==',' ) + if( b==';' || b==',' ) return off; off++; }