Re: Cookie parsing and upcoming updates to RFC6265

2024-08-28 Thread Mark Thomas
On 27/08/2024 17:21, Christopher Schultz wrote: Mark, On 8/27/24 11:31, Mark Thomas wrote: On 26/08/2024 15:14, Christopher Schultz wrote: All, On 8/16/24 11:25, Mark Thomas wrote: On 16/08/2024 13:40, Tim Funk wrote: How about  missingEqualsCookie="allow | ignore"? The proposed options w

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-27 Thread Christopher Schultz
Mark, On 8/27/24 11:31, Mark Thomas wrote: On 26/08/2024 15:14, Christopher Schultz wrote: All, On 8/16/24 11:25, Mark Thomas wrote: On 16/08/2024 13:40, Tim Funk wrote: How about  missingEqualsCookie="allow | ignore"? The proposed options were: - ignore - name - value By using [allow |

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-27 Thread Mark Thomas
On 26/08/2024 14:58, Christopher Schultz wrote: What good is a cookie with no name? I'm not sure. I know we had some users that wanted a cookie without a value (I guess it is some sort of boolean flag). That makes more sense to me than a cookie without a name. Is this one of those "optimiza

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-27 Thread Mark Thomas
On 26/08/2024 15:09, Christopher Schultz wrote: Mark, On 8/16/24 04:32, Mark Thomas wrote: On 14/08/2024 19:12, Konstantin Kolinko wrote: I think that 1) We would better switch to "ignore" mode right now, in all supported versions. Based on past experience I am extremely hesitant to chan

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-27 Thread Mark Thomas
On 26/08/2024 15:14, Christopher Schultz wrote: All, On 8/16/24 11:25, Mark Thomas wrote: On 16/08/2024 13:40, Tim Funk wrote: How about  missingEqualsCookie="allow | ignore"? The proposed options were: - ignore - name - value By using [allow | ignore] instead of yes/no, it opens the door

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-26 Thread Christopher Schultz
All, On 8/16/24 11:25, Mark Thomas wrote: On 16/08/2024 13:40, Tim Funk wrote: How about  missingEqualsCookie="allow | ignore"? The proposed options were: - ignore - name - value By using [allow | ignore] instead of yes/no, it opens the door to additional behaviors. (such as reject which tr

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-26 Thread Christopher Schultz
Mark, On 8/16/24 04:32, Mark Thomas wrote: On 14/08/2024 19:12, Konstantin Kolinko wrote: I think that 1) We would better switch to "ignore" mode right now, in all supported versions. Based on past experience I am extremely hesitant to change anything related to cookie handling behaviour

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-26 Thread Christopher Schultz
Mark, On 8/14/24 10:29, Mark Thomas wrote: Hi all, The IETF HTTP working group is working on RFC 6265bis (the RFC that will replace RFC 6265). I have been reviewing the changes to see what impact they might have on Tomcat and our users. There are a few changes (e.g. SameSite) we have alread

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-19 Thread Mark Thomas
On 19/08/2024 08:38, Rémy Maucherat wrote: On Fri, Aug 16, 2024 at 5:25 PM Mark Thomas wrote: On 16/08/2024 13:40, Tim Funk wrote: How about missingEqualsCookie="allow | ignore"? The proposed options were: - ignore - name - value Ok, I think your proposed options are very good. Thanks fo

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-18 Thread Rémy Maucherat
On Fri, Aug 16, 2024 at 5:25 PM Mark Thomas wrote: > > On 16/08/2024 13:40, Tim Funk wrote: > > How about missingEqualsCookie="allow | ignore"? > > The proposed options were: > - ignore > - name > - value Ok, I think your proposed options are very good. Thanks for the summary. Personally I would

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-16 Thread Mark Thomas
On 16/08/2024 13:40, Tim Funk wrote: How about missingEqualsCookie="allow | ignore"? The proposed options were: - ignore - name - value By using [allow | ignore] instead of yes/no, it opens the door to additional behaviors. (such as reject which triggers a http error) Agreed. Mark --

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-16 Thread Tim Funk
How about missingEqualsCookie="allow | ignore"? By using [allow | ignore] instead of yes/no, it opens the door to additional behaviors. (such as reject which triggers a http error) -Tim On Fri, Aug 16, 2024 at 4:33 AM Mark Thomas wrote: > On 14/08/2024 19:12, Konstantin Kolinko wrote: > > >

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-16 Thread Mark Thomas
On 14/08/2024 19:12, Konstantin Kolinko wrote: I think that 1) We would better switch to "ignore" mode right now, in all supported versions. Based on past experience I am extremely hesitant to change anything related to cookie handling behaviour unless we have to. I'd prefer to use "name"

Re: Cookie parsing and upcoming updates to RFC6265

2024-08-14 Thread Konstantin Kolinko
ср, 14 авг. 2024 г. в 17:29, Mark Thomas : > > Hi all, > > The IETF HTTP working group is working on RFC 6265bis (the RFC that will > replace RFC 6265). I have been reviewing the changes to see what impact > they might have on Tomcat and our users. Links: https://datatracker.ietf.org/doc/html/rfc6