Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Cookies Not Formatted Properly

Discussion in '2020.2 Beta' started by mbzdmvp, Aug 24, 2020.

  1. mbzdmvp

    mbzdmvp

    Joined:
    May 24, 2013
    Posts:
    21
    Hi All,

    I encountered an issue where cookies that are received as expected in Unity 2019.3 are not received correctly in 2020.2.

    This only reproduces the first time you run an app after opening the editor. (It will continue to reproduce once if you close and reopen the editor)

    Below are examples of what the misformatting looks like:

    Good cookies = "Secure;HttpOnly;token=abcde"
    Bad cookies = " Secure,token=abcde; HttpOnly"

    As you can see in the bad cookie, the Secure and token lines are not separated properly, and there is a leading space in each cookie.
     
  2. mbzdmvp

    mbzdmvp

    Joined:
    May 24, 2013
    Posts:
    21
    turns out this was a bug on our backend. sorry! how do I delete this post?