docbrown/config
rhymes 5e9be0c32d
Disable ActionController auto params wrapping (#11692)
* Disable ActionController auto params wrapping

Rails by default accepts wrapped and unwrapped parameters in JSON requests (with or without a root object), regardless of the fact that the contract with the client requests wrapped parameters or not. This results in unforeseeable bugs when the client sends unwrapped parameters in lieu of wrapped ones.

As undeterministic bugs are a PITA and this is the classic grey area in Rails apps and as the customer facing API is fully documented and the internal can be manually adjusted, we disable this and be done with this odd feature.

https://github.com/forem/forem/issues/11645
https://github.com/forem/forem/pull/11638

* Remove accidentally committed file
2020-12-02 15:17:43 +01:00
..
elasticsearch/mappings Copy username to search_fields (#11045) 2020-11-02 08:38:15 -06:00
environments Refactor:Remove Deprecated SENDGRID_USERNAME and SENDGRID_PASSWORD From production.rb (#11376) 2020-11-12 09:58:10 -06:00
fastly/snippets Add email to safe_params (#11135) 2020-10-28 13:46:54 -04:00
initializers Disable ActionController auto params wrapping (#11692) 2020-12-02 15:17:43 +01:00
locales [deploy] Invite users to join and create password (#9294) 2020-07-15 11:37:19 -04:00
webpack Add Preact dev tools to development bundles (#11459) 2020-11-18 14:20:58 +01:00
application.rb [deploy] Fix URL.domain in development by correctly loading authentication providers (#10296) 2020-09-13 16:49:18 -05:00
blazer.yml Add tag smart variable to Blazer config (#11640) 2020-11-30 21:50:28 +07:00
boot.rb Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
cable.yml Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
database.yml Rubocop: address feedback of #9430 and use kwargs (#9538) 2020-07-29 11:13:36 +02:00
environment.rb Rails 6: enable zeitwerk autoloader (#8766) 2020-06-22 16:27:55 +02:00
field_test.yml Refactor/Optimization:Use more_comments_minimal_weight_randomized_at_end for Signed In Feed (#11604) 2020-11-24 15:36:55 -06:00
puma.rb [deploy] Enable Puma's nakayoshi_fork feature (#11121) 2020-10-28 09:22:44 -04:00
routes.rb Adds ability for admins to create new tags via /admin/tags (#11240) 2020-12-02 08:12:57 -06:00
schedule.yml Feature:Send Alerts for Failed DataUpdateScripts to Datadog (#11381) 2020-11-12 10:59:54 -06:00
secrets.yml Initial commit 2018-02-28 16:11:08 -05:00
sidekiq.yml setup sidekiq queues for different priority jobs (#5300) [deploy] 2019-12-30 10:16:52 -06:00
sitemap.rb [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
spring.rb Rubocop Style cops enabled (#2056) 2019-03-15 18:33:54 -04:00
storage.yml Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
webpacker.yml Moved from resolved_paths (deprecated) to additional_paths. (#9982) 2020-08-24 16:08:16 -04:00