1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionmailbox/test/dummy
David Jones c6c53a02a5 Permit attachments in mailbox conductor params
Prior to this commit, when adding attachments to an inbound email
through the conductor, the log would warn of an unpermitted parameter
with the message:

> Unpermitted parameter: :attachments. Context: { }

Also, if an application had the setting:

  config.action_controller.action_on_unpermitted_parameters = :raise

it would raise an error, because the attachments are not a permitted
parameter.

This commit also sets `action_on_unpermitted_parameters` to `:raise`
for the action mailbox test suite, so that tests are run in most
restrictive setting available, to prevent future unpermitted parameters
from being passed by conductor actions.

Co-authored-by: Dana Henke <danapalazzo1@gmail.com>
2021-07-02 16:56:16 -04:00
..
app
bin require, require_relative, load by double quotes (#38841) 2020-03-29 16:30:52 -07:00
config Permit attachments in mailbox conductor params 2021-07-02 16:56:16 -04:00
db remove reference to global rails command and replace with bin/rails 2019-12-27 19:32:37 +00:00
lib/assets
log
public
storage
.babelrc
.postcssrc.yml
config.ru require, require_relative, load by double quotes (#38841) 2020-03-29 16:30:52 -07:00
package.json Upgrade webpack-dev-server version in test apps 2019-03-09 03:35:22 +05:30
Rakefile require, require_relative, load by double quotes (#38841) 2020-03-29 16:30:52 -07:00
yarn.lock Upgrade webpack-dev-server version in test apps 2019-03-09 03:35:22 +05:30