mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
The session cookie's Partitioned attribute was set to "" for any non-null value, so an explicit `partitioned=false` was rendered the same as `true`. PropertyMapper.to() only filters null, so Boolean.FALSE reached the consumer and the attribute was always set. Use whenTrue() so the attribute is set only when partitioned is true, leaving false and unset to fall through to the container default. Closes gh-50781 Signed-off-by: Lee JiWon <dlwldnjs1009@gmail.com>