diff --git a/app/lib/request.rb b/app/lib/request.rb index d7da9fe63..ac18bd260 100644 --- a/app/lib/request.rb +++ b/app/lib/request.rb @@ -233,7 +233,7 @@ class Request contents end - def body_with_limit(limit = 1.megabyte) + def body_with_limit(limit = 30.megabyte) require_limit_not_exceeded!(limit) contents = truncated_body(limit) diff --git a/app/models/account.rb b/app/models/account.rb index 078d7aaa0..afae0e3df 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -72,9 +72,9 @@ class Account < ApplicationRecord MENTION_RE = %r{(?