cookiejar icon indicating copy to clipboard operation
cookiejar copied to clipboard

Manage client-side HTTP cookies in Ruby

Results 16 cookiejar issues
Sort by recently updated
recently updated
newest added

The existing code for cookie validation was written 9 years ago, before the [RFC 6265](https://tools.ietf.org/html/rfc6265). So it only supports one level of subdomains between the cookie domain-value and the requested...

Currently, cookiejar raises an exception when a cookie has an attribute/parameter that the cookiejar parser does not recognize. It also fails to parse cookies in headers if it contains unrecognized...

I ran into a problem where I would not get any cookies set given this header: `"s=AAAAAAAAY1UAAAFJAB4UawAAAAAAAAAApPcqHqisJSmL4TuQ-RsJradrFZt9fTMSdEi8bw; Domain=.example.com; Path=/; HttpOnly; Secure; Max-Age=63072000"` Using `set_cookies_from_headers` would not do anything, but also...

I'm looking at the docs, but I don't find any examples on how to use this gem. Would be nice with a simple example for a quick getting-started.

Follow up https://github.com/ruby/ruby/pull/6976. This PR suppresses the following deprecation warning. ```console % ruby -v ruby 3.2.1 (2023-02-08 revision 31819e82c8) [x86_64-darwin19] % bundle exec rake (snip) /Users/koic/src/github.com/dwaite/cookiejar/lib/cookiejar/cookie_validation.rb:48: warning: 3rd argument to...