Author: markt Date: Wed Jul 18 19:53:07 2007 New Revision: 557470 URL: http://svn.apache.org/viewvc?view=rev&rev=557470 Log: Don't treat the single quote character as special.
Modified: tomcat/connectors/branches/tc5.0.x/util/java/org/apache/tomcat/util/http/Cookies.java Modified: tomcat/connectors/branches/tc5.0.x/util/java/org/apache/tomcat/util/http/Cookies.java URL: http://svn.apache.org/viewvc/tomcat/connectors/branches/tc5.0.x/util/java/org/apache/tomcat/util/http/Cookies.java?view=diff&rev=557470&r1=557469&r2=557470 ============================================================================== --- tomcat/connectors/branches/tc5.0.x/util/java/org/apache/tomcat/util/http/Cookies.java (original) +++ tomcat/connectors/branches/tc5.0.x/util/java/org/apache/tomcat/util/http/Cookies.java Wed Jul 18 19:53:07 2007 @@ -243,7 +243,7 @@ // quote is valid only in version=1 cookies cc=bytes[pos]; - if( ( version == 1 || isSpecial ) && ( cc== '\'' || cc=='"' ) ) { + if( ( version == 1 || isSpecial ) && ( cc=='"' ) ) { startValue++; endValue=indexOf( bytes, startValue, end, cc ); pos=endValue+1; // to skip to next cookie --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]