artyom-beilis / cppcms

CppCMS Framework
Other
443 stars 107 forks source link

Support for the HttpOnly and SameSite directives on cookies. #65

Closed mark-whiting closed 4 years ago

mark-whiting commented 4 years ago

The first commit adds generic support for the HttpOnly and SameSite directives to the cppcms::http::cookie class.

The second commit adds config options to set those directives on the session cookie. The defaults were set so that this should not change the behavior of existing users without them "opting-in" by explicitly adding the new settings to their config.

artyom-beilis commented 4 years ago

Looks like a very solid pool. Merging it, will see that all tests go ok tonight.