docbrown/config/initializers
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
..
rack Rubocop: fix additional violations in todo file (#9218) 2020-07-09 10:25:44 -04:00
0_application_config.rb [deploy] Refactor:Change Unset Var Warnings to Debug Level (#9985) 2020-08-25 09:45:42 +02:00
1_imgproxy.rb Default to Imgproxy on Forem-cloud (#10819) 2020-10-14 12:54:59 -04:00
acts_as_taggable_on.rb [deploy] Enable ActsAsTaggableOn.strict_case_match (#8299) 2020-06-05 13:52:01 -04:00
ahoy.rb Rubocop: fix additional violations in todo file (#9218) 2020-07-09 10:25:44 -04:00
ahoy_email.rb Upgrade ahoy_email to 1.0.3 (#2534) 2019-04-23 16:32:14 -04:00
application_controller_renderer.rb Upgrade Rails to 5.2.3 (#1408) 2019-04-03 13:08:59 -04:00
assets.rb Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
audit_events.rb [deploy] Move /internal to `/admin (#9639) 2020-08-07 10:36:26 -04:00
backtrace_silencers.rb Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
cache_logger.rb Enable cache logging in development if requested (#5330) 2020-01-02 08:11:58 -05:00
carrierwave.rb Refactor CarrierWave configuration (#11006) 2020-10-21 16:47:52 -04:00
carrierwave_monkeypatch.rb Refactor:Implement Carrierwave Monkeypatch in all Envs (#11233) 2020-11-03 10:51:53 -06:00
cloudinary.rb Create DelayedJob config and misc DX changes (#979) 2018-10-26 13:15:14 -04:00
content_security_policy.rb [deploy] Bug Fix:Comment out content security policy (#10192) 2020-09-03 13:30:10 -05:00
cookies_serializer.rb Initial commit 2018-02-28 16:11:08 -05:00
cors.rb Upgrade to Rails 6.0 (#7658) 2020-06-04 11:54:25 +02:00
datadog_apm.rb Refactor:Enable Datadog When DD_API_KEY is Present (#11278) 2020-11-05 10:50:32 -06:00
devise.rb [deploy] Fix email sender and url issues (#10883) 2020-10-19 16:55:40 -04:00
devise_monkeypatch.rb [deploy] Enable admin-configured app_domain (#10206) 2020-09-11 09:38:34 -04:00
docker.rb Enable Rubocop 0.89 cops and fix Lint/ violations (#9709) 2020-08-10 16:57:12 +02:00
doorkeeper.rb [deploy] Create write_articles oauth scope (#7834) 2020-05-14 09:55:53 -04:00
filter_parameter_logging.rb Initial commit 2018-02-28 16:11:08 -05:00
flipper.rb [deploy] Bump flipper, flipper-active_record and flipper-ui (#8966) 2020-06-30 08:19:27 -05:00
honeybadger.rb [deploy] Replace HEROKU_SLUG_COMMIT with custom footprint (naive) (#9904) 2020-08-25 13:47:14 -04:00
honeycomb.rb [deploy] Replace HEROKU_SLUG_COMMIT with custom footprint (naive) (#9904) 2020-08-25 13:47:14 -04:00
hypershield.rb Refactor:Remove BackupData Table from Postgres (#10422) 2020-09-24 10:09:20 +07:00
inflections.rb Initial commit 2018-02-28 16:11:08 -05:00
liquid.rb Rails 6: enable zeitwerk autoloader (#8766) 2020-06-22 16:27:55 +02:00
mime_types.rb Initial commit 2018-02-28 16:11:08 -05:00
new_framework_defaults_5_2.rb Rails 5.2 features: enable cache versioning (recyclable keys) (#5329) [deploy] 2020-01-02 08:40:03 -05:00
new_framework_defaults_6_0.rb [deploy] Use Action Mailer parameterized syntax (#8853) 2020-06-23 13:48:41 -05:00
octokit.rb Code cleanups (#659) 2018-08-07 11:00:13 -04:00
omniauth.rb Fixes Omniauth redirect_uri when SiteConfig.app_domain is updated (#10432) 2020-09-24 11:57:51 -06:00
persistent_csrf_token_cookie.rb [deploy] Rubocop: fix violations of Layout/LineLength (#9197) 2020-07-08 08:36:36 -05:00
pusher.rb [deploy] Remove ENVied Gem, Use dotenv Take 2 (#9767) 2020-08-14 12:20:47 -05:00
redcarpet.rb Implement KatexTag (#6237) [deploy] 2020-03-09 17:58:54 -04:00
reserved_words.rb Refactor:Remove Unused BufferedArticles Controller (#11193) 2020-10-30 15:24:02 -05:00
reverse_markdown.rb Fix newlines being chomped in RSS import (#10476) 2020-09-29 10:38:36 -04:00
rolify.rb #260 increase mentee-mentor description length (#405) 2018-08-20 10:20:23 -04:00
s3_direct_upload.rb [deploy] Attempt to get carrierwave configured correctly for containers and tests passing (#9558) 2020-07-29 17:27:13 -04:00
session_store.rb [deploy] Change to same_site: lax for session store (#9967) 2020-08-24 12:29:45 -04:00
set_release_footprint.rb Optimization:Move Initialization CacheBust to Background Worker (#10311) 2020-09-18 11:30:47 -04:00
sidekiq.rb [deploy] Bug Fix:Increase look back time for Cron jobs to 120 seconds (#9797) 2020-08-17 11:11:52 -05:00
sidekiq_unique_jobs.rb [deploy] ensure that often run sidekiq jobs are unique until they execute (#7168) 2020-04-08 19:19:30 -04:00
slack_notifier.rb [deploy] Remove ENVied Gem, Use dotenv Take 2 (#9767) 2020-08-14 12:20:47 -05:00
sprockets_uglifier_with_source_maps_compressor.rb Rubocop: Enable and fix Style/StringConcatenation (#9844) 2020-08-18 14:50:15 +02:00
strong_migrations.rb Bump strong_migrations from 0.6.8 to 0.7.0 (#9525) 2020-07-27 11:10:18 +02:00
timeout.rb Adds optional support for Docker/Compose (#296) 2018-10-12 11:48:53 -04:00
vault.rb [deploy] Remove Vault ENV variables from Envfile so they arent Required in Prod (#8895) 2020-06-24 15:02:16 -05:00
wrap_parameters.rb Disable ActionController auto params wrapping (#11692) 2020-12-02 15:17:43 +01:00
zeitwerk.rb Add service generator (#11265) 2020-11-10 09:09:35 +07:00