Closed dhmuralikrishna closed 6 years ago
Where are you getting cookies like this from?
From one of the dependent systems.
What kind of server / software is creating a cookie with that format?
I think its java app don't know much details. we are consuming https endpoint int he response set-cookie it has version=1
Lets say set-cookie value is cookiename=cookievalue; Version=1; Domain=.contoso.com; Path=/; Secure; HttpOnly";
Then it's not parsing to SetcookieHeaderValue in SetcookieHeaderValue.TryParse is returning null.
Version =1 might not be valid as per the spec. But other non-windows servers are sending the cookie like that.
Expected Ignore Version =1 and fill remaining values in SetCookieHeaderValue.