You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Larry Isaacs <La...@sas.com> on 2001/10/17 21:08:58 UTC

RE: DO NOT REPLY [Bug 4237] - Cookies with spaces in value are truncated.

Mike e-mailed me directly and already has my +1.  Thanks for reviewing
the patch.

Larry

> -----Original Message-----
> From: bugzilla@apache.org [mailto:bugzilla@apache.org]
> Sent: Wednesday, October 17, 2001 2:21 PM
> To: tomcat-dev@jakarta.apache.org
> Subject: DO NOT REPLY [Bug 4237] - Cookies with spaces in value are
> truncated.
> 
> 
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4237>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
> INSERTED IN THE BUG DATABASE.
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4237
> 
> Cookies with spaces in value are truncated.
> 
> 
> 
> 
> 
> ------- Additional Comments From cmanolache@yahoo.com  
> 2001-10-17 11:20 -------
> Patch looks good - I checked the spec and it's a bit strange 
> ( it says spaces are allowed between tokens, and my previous 
> interpretation was that name and value are each 'token', not 
> that value is composed from tokens ). However it can be read 
> both ways - and accepting spaces in unquoted values should be fine.
> 
> Version 0 ( original ) cookies explicitely reject spaces in 
> name/value. In V1 quotes could be used as well, as a 
> workaround ( but we don't add quotes by default because some 
> browsers may not like them ).
> 
> +1 on commiting the patch ( if Larry is ok with that, of course ).
>