[
https://issues.apache.org/jira/browse/KNOX-3599?focusedWorklogId=1056652&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1056652
]
ASF GitHub Bot logged work on KNOX-3599:
----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Nov/26 15:31
Start Date: 23/Nov/26 15:31
Worklog Time Spent: 10m
Work Description: bonampak merged PR #1530:
URL: https://github.com/apache/knox/pull/1530
Issue Time Tracking
-------------------
Worklog Id: (was: 1056652)
Time Spent: 0.5h (was: 20m)
> KnoxSessionStore writes "null" instead of an empty cookie when pac4j clears a
> session value
> -------------------------------------------------------------------------------------------
>
> Key: KNOX-3599
> URL: https://issues.apache.org/jira/browse/KNOX-3599
> Project: Apache Knox
> Issue Type: Bug
> Components: KnoxSSO
> Affects Versions: 3.1.0
> Reporter: Tamás Marcinkovics
> Assignee: Tamás Marcinkovics
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> KnoxSessionStore is pac4j's cookie-backed session store.
> pac4j clears a session value with set(key, null) (also ""), which should give
> an empty-value cookie (pac4j.session.<key>=).
> Since KNOX-3148, SetCookieHeader writes the value as the literal string
> "null" (pac4j.session.<key>=null).
> get() would then try to decode "null" as a stored value.
> KNOX-3232 worked around this on the read side only.
> SetCookieHeader should write a null value as empty, which is what the code
> did before KNOX-3148.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)