This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
HTTPSession was initially written to work with RFC 2109 cookies. However, a flag was added to make it more lax in what it accepted. The intention was to make it interoperate with the older style of cookie, as used by Navigator. However, this support is broken in a couple of respects. The chief problem is that the old style cookie uses ; as a separator when sending cookies, and does not use "," as a separator between cookies. Thus receiving cookies can fail if the cookie has an embedded comma - for instance, in the expiry date attribute. Sending cookies needs to be changed to use ";" not "," in the non-RFC case.
working on fixing this...
The code was modified to parse differently if strict == false. Also to create the cookie differently. In both cases the ";" character is used as a separator, not the "," character.