mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Prior to this commit, `MockHttpServletRequest.isRequestedSessionIdValid()` would return `true` by default and could only be changed manually with a setter. This does not align with the Servlet spec because of 1) its default value and 2) it does not react to `changeSessionId()` calls. This commit fixes that behavior while still allowing "manual" booleans being set here. Fixes gh-36631