Closed sam-barker closed 2 months ago
@hassy Here's my second issue :D
have you tried setting looseMode: true
under cookieJarOptions
as well? (https://github.com/salesforce/tough-cookie/blob/master/lib/cookie/cookieJar.ts#L171) We rely on ToughCookie, so I'm wondering if the cookie is not strictly compliant with RFC 6265
@hassy Just tried it and I get the same error. I've tried looseMode
and loose
and it doesn't seem to make any difference
Setting a cookie in my flows seems to keep causing an error, and I'm not sure why. If I remove any mention of cookies the error goes away. But I am confused as to why the cookie cannot be parsed, even with the unsafe-disabled security prefix set
Version info:
Running this command:
I expected to see this happen:
No errors when setting a cookie
Instead, this happened:
Error: Cookie failed to parse
Files being used: