servlet icon indicating copy to clipboard operation
servlet copied to clipboard

RFC 6265bis will allow cookies with a value but no name

Open markt-asf opened this issue 1 year ago • 0 comments

RFC 6265bis will permit cookies with values but no names in some circumstances. Frameworks - such as Servlet - are encouraged to support parsing such cookies.

jakarta.servlet.http.Cookie does not allow either null or "" for the name field. Do we want to:

  • relax that in light of the expected RFC 6265bis changes;
  • wait for the RFC to be published before we make a decision;
  • leave things as they are;
  • do something else?

markt-asf avatar Aug 20 '24 16:08 markt-asf