Summary: | Wrong cookie makes Rfc6265CookieProcessor ommit all following cookies | ||
---|---|---|---|
Product: | Tomcat 8 | Reporter: | Ales Dolecek <ales_d> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | michaelo |
Priority: | P2 | ||
Version: | 8.5.8 | ||
Target Milestone: | ---- | ||
Hardware: | PC | ||
OS: | All |
Description
Ales Dolecek
2017-01-23 10:52:16 UTC
The format used by the client is RFC 2109 or RFC 2965. So I guess it was probably dropped from Rfc6265CookieProcessor intentionally. The RFC6265 parser switches to RFC2109 rules if it sees $Version="1". It currently treats any other version as unknown and rejects the header. We could configure the RFC6265 parser to parse version 0 either with the RFC2109 parser or the RFC6265 parser. I'm leaning towards RFC2109 but I'd like to give this a little more thought. Also, any feedback would be very welcome. Fixed in: - trunk for 9.0.0.M18 onwards - 8.5.x for 8.5.12 onwards |