When I use HttpWebRequest
in .NET, its CookieContainer object doesn't contain cookies that have a ,
(comma) in them - for example, if a cookie looks like this:
guest_id=v1%3A142425134212809164; Domain=.twitter.com; Path=/; Expires=Fri, 17-Feb-2017 09:22:22 UTC
The request's CookieContainer won't contain this cookie because it has a comma inside it (in the Expires parameter). On the other hand, when cookies do not contain commas in them, the CookieContainer object gets them correctly.
Is there a workaround for this issue?