[ 
https://issues.apache.org/jira/browse/KNOX-3599?focusedWorklogId=1056019&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1056019
 ]

ASF GitHub Bot logged work on KNOX-3599:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Nov/26 21:38
            Start Date: 19/Nov/26 21:38
    Worklog Time Spent: 10m 
      Work Description: github-actions[bot] commented on PR #1530:
URL: https://github.com/apache/knox/pull/1530#issuecomment-7022936975

   ## Test Results
     5 files    5 suites   1m 15s ⏱️
   227 tests 226 ✅ 1 💤 0 ❌
   271 runs  270 ✅ 1 💤 0 ❌
   
   Results for commit eb07813a.
   
   
[test-results]:data:application/gzip;base64,H4sIAGFs/2oC/03MSw7CIBSF4a00jB1cQIt1MwYu3ITYFsNjZNy7lFTa4f+d5HwY+dkl9hhul4Gl4nMPW6LOPqw11dZ1ydsmhPrXMxXERuNBL/+uxDuQ9nMF6OBiDHGXWNb2qfge/VJBl+Ox9emw9fkPw7L4XIM5A+rOpZaEJJ24AhKXkzGjRUNgjRACSE/Ivj+miPYHBAEAAA==
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 1056019)
    Time Spent: 20m  (was: 10m)

> 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: 20m
>  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)

Reply via email to