[ic] Fixed rare [read-cookie] bug

Jon Jensen jon at endpoint.com
Wed Mar 9 20:24:04 UTC 2011


On Wed, 9 Mar 2011, David Christensen wrote:

> I recently hunted down a very obscure set of circumstances in which 
> [read-cookie <name>] can result in an incorrect value for the specific 
> cookie.  This came up for a client in which ~ 1% of orders were having 
> an invalid affiliate field, which itself had been populated by this 
> cookie.

Nice find! :)

> Any thoughts/opinions on whether [read_cookie foocookie] should be 
> case-insensitive?

It appears to me that RFC 2965 specifies that the attribute names are to 
be case-insensitive:

http://www.apps.ietf.org/rfc/rfc2965.html#sec-3.1

If I'm reading that correctly, then the /i option as it stands gives the 
correct behavior.

Jon

-- 
Jon Jensen
End Point Corporation
http://www.endpoint.com/



More information about the interchange-users mailing list