RubyGems Navigation menu

rails_cookie_overflow 1.0.0

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:
=

安装:
=

版本列表:

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

Runtime 依赖 (1):

rails >= 4.2

业主:

推送:

作者:

  • Ritikesh

SHA 256 校验和:

=

下载总量 362,305

这个版本 332,402

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 2.6.0

新的版本需要开启多因素验证: true

使用多因素验证发布的版本: true

链接: