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,079 of 188,317
Downloads: 469,283

Daily

Ranking: 61,414 of 188,299
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
44691,823,180rails

Owners

#GravatarHandle
1iconritikesh