Categories: None [Edit]

rails_cookie_overflow

https://rubygems.org/gems/rails_cookie_overflow
https://github.com/ritikesh/rails_cookie_overflow
Rails raises a CookieOverflow exception when the total size of the incoming request's cookie crosses a certain threshold - currently set as 4096 bytes. While it is not advisable to store or pass around such large data in cookies, sometimes, bad actors can try to send large cookie payloads to your application to see if your systems are able to handle it. If not handled, your application would end up raising a large number of 500 exceptions. This gem handles the exception gracefully and responds with a 422 Unprocessable Entity HTTP status code.

Total

Ranking: 8,097 of 186,959
Downloads: 442,697

Daily

Ranking: 6,630 of 186,713
Downloads: 379

Depended by

RankDownloadsName

Depends on

RankDownloadsName
43658,650,538rails

Owners

#GravatarHandle
1iconritikesh