cookies icon indicating copy to clipboard operation
cookies copied to clipboard

Signed and unsigned cookies based on Keygrip

Results 40 cookies issues
Sort by recently updated
recently updated
newest added

So I am building an app in this "awesome" eco-system called firebase—it comes with the "beautiful" convention of stripping all cookies out and leaving you with the ability to use...

enhancement
help wanted

Resolves #101. This enforces string input as suggested by @dougwilson. Two considerations: * Is input a string if wrapped in `String` constructor? I suggest *no*, as do [Node](https://github.com/nodejs/node/blob/a0e2c6d2843ea6e37035a949827cdcc7949026d6/lib/internal/validators.js#L112). That is...

pr

Resolves #88. I've added a `getAll()` method instead of adding a `multi` option to `get()` such that the return type doesn't depend on input (which will also lead to saner...

pr

URL decoding of raw cookie header key-value pairs as recommended by h…ttps://tools.ietf.org/html/rfc6265#section-4.1.1 Using cookie-session, signed cookies are not recognized when the serialized session cookie contains special characters such as `=`,...

pr
awaiting more info

It can be necessary to use `max-age` rather than rely on `expires`, when the client and server clocks are not in sync. Older versions of IE will ignore the `max-age`...

pr

Support http2 to enable express tests with http2. https://github.com/expressjs/express/pull/3390.

pr

basically hits all the 1.0.0 milestones - API has changed to `var cookies = require('Cookies')([options], [keys])` then `req.cookies = res.cookies = cookies(req, res)`. - automatically works as middleware, so you...

1.0.0

This library is wonderful for getting and setting individual cookies. I have a case where I need to get all cookies though. It'd be nice to just re-use the `get()`...

enhancement

Let's say you have a website at "foo.server.com", and you set a cookie called "session" with the domain "foo.server.com". Then you set a second cookie called "session" with the domain...