Skip to content

MockSessionCookieConfig#maxAge defaults to 0 instead of -1 [SPR-15142] #19708

@spring-projects-issues

Description

@spring-projects-issues

Vedran Pavic opened SPR-15142 and commented

MockSessionCookieConfig#maxAge defaults to 0 which causes cookies to be deleted instead of written during tests. Rather than 0, default value for maxAge should be -1 as one would expect from a typical container.


Affects: 4.3.5

Issue Links:

Referenced from: commits 83beb9d, d1c0ea7

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions