RubyGems Navigation menu

rails_cookie_overflow 1.0.1

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.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.0.1 - November 24, 2022 (9 KB)
  2. 1.0.0 - July 15, 2022 (9 KB)

Runtime Dependencies (1):

rails >= 4.2

Owners:

Pushed by:

Authors:

  • Ritikesh

SHA 256 checksum:

6019b6f1dd28c48e46a1ee23bd3d70e60975d3d25d1a423f2d0095628258243c

Total downloads 360,753

For this version 28,439

License:

MIT

Required Ruby Version: >= 2.6.0

New versions require MFA: true

Version published with MFA: true

Links: