Samit, this is really a bug. Domain names that only differ in case are
equal. So fix this in Cookie. Can you file a bug report?
Odi
Samit Jain wrote:
Hi all,
There is a small bug in the implementation of Cookie class. In
Cookie#equals(Object), domain matching should be case-insensitive. I think
it is a good idea to make this change in the Cookie class since it is a bug.
The other option is implementing Cookie2#equals(Object) so this bug won't
appear in RFC 2965 implementation.
Whats your opinion on this?
-Samit
--
[web] http://www.odi.ch/
[blog] http://www.odi.ch/weblog/
[pgp] key 0x81CF3416
finger print F2B1 B21F F056 D53E 5D79 A5AF 02BE 70F5 81CF 3416
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]