TechforgoodCAST / beehive-giving

A free funding suitability checking tool
https://www.beehivegiving.org
MIT License
2 stars 2 forks source link

ActionController::InvalidCrossOriginRequest: Security warning: an embedded <script> tag on another site requested protected JavaScript. If you know what you're doing, go ahead and disable forgery protection on this action to permit cross-origin JavaScript #802

Closed suninthesky closed 5 years ago

suninthesky commented 5 years ago

View details in Rollbar: https://rollbar.com/beehive-giving/beehive-giving/items/274/



ActionController::InvalidCrossOriginRequest: Security warning: an embedded <script> tag on another site requested protected JavaScript. If you know what you're doing, go ahead and disable forgery protection on this action to permit cross-origin JavaScript embedding.
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/request_forgery_protection.rb", line 245, in verify_same_origin_request
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/callbacks.rb", line 413, in block in make_lambda
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/callbacks.rb", line 246, in block in halting
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/callbacks.rb", line 511, in block in invoke_after
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/callbacks.rb", line 511, in each
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/callbacks.rb", line 511, in invoke_after
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/callbacks.rb", line 132, in run_callbacks
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/abstract_controller/callbacks.rb", line 19, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/rescue.rb", line 20, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/instrumentation.rb", line 32, in block in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/notifications.rb", line 166, in block in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/notifications/instrumenter.rb", line 21, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/notifications.rb", line 166, in instrument
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/instrumentation.rb", line 30, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal/params_wrapper.rb", line 252, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/activerecord-5.1.2/lib/active_record/railties/controller_runtime.rb", line 22, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.1.26/lib/scout_apm/instruments/action_controller_rails_3_rails4.rb", line 81, in process_action
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/abstract_controller/base.rb", line 124, in process
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.2/lib/action_view/rendering.rb", line 30, in process
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal.rb", line 189, in dispatch
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_controller/metal.rb", line 253, in dispatch
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_dispatch/routing/route_set.rb", line 49, in dispatch
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_dispatch/routing/route_set.rb", line 31, in serve
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_dispatch/journey/router.rb", line 46, in block in serve
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_dispatch/journey/router.rb", line 33, in each
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_dispatch/journey/router.rb", line 33, in serve
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_dispatch/routing/route_set.rb", line 832, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.1.26/lib/scout_apm/instruments/rails_router.rb", line 23, in call_with_scout_instruments
  File "/app/vendor/bundle/ruby/2.5.0/gems/scout_apm-2.1.26/lib/scout_apm/middleware.rb", line 15, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/rack-tracker-1.6.0/lib/rack/tracker.rb", line 36, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb", line 36, in block in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb", line 35, in catch
  File "/app/vendor/bundle/ruby/2.5.0/gems/warden-1.2.7/lib/warden/manager.rb", line 35, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/etag.rb", line 25, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/conditional_get.rb", line 25, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/head.rb", line 12, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb", line 232, in context
  File "/app/vendor/bundle/ruby/2.5.0/gems/rack-2.0.6/lib/rack/session/abstract/id.rb", line 226, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_dispatch/middleware/cookies.rb", line 613, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_dispatch/middleware/callbacks.rb", line 26, in block in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/callbacks.rb", line 97, in run_callbacks
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_dispatch/middleware/callbacks.rb", line 24, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/rollbar-2.16.3/lib/rollbar/middleware/rails/rollbar.rb", line 24, in block in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/rollbar-2.16.3/lib/rollbar.rb", line 146, in scoped
  File "/app/vendor/bundle/ruby/2.5.0/gems/rollbar-2.16.3/lib/rollbar/middleware/rails/rollbar.rb", line 22, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_dispatch/middleware/debug_exceptions.rb", line 59, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/rollbar-2.16.3/lib/rollbar/middleware/rails/show_exceptions.rb", line 22, in call_with_rollbar
  File "/app/vendor/bundle/ruby/2.5.0/gems/actionpack-5.1.2/lib/action_dispatch/middleware/show_exceptions.rb", line 31, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/railties-5.1.2/lib/rails/rack/logger.rb", line 36, in call_app
  File "/app/vendor/bundle/ruby/2.5.0/gems/railties-5.1.2/lib/rails/rack/logger.rb", line 24, in block in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/tagged_logging.rb", line 69, in block in tagged
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/tagged_logging.rb", line 26, in tagged
  File "/app/vendor/bundle/ruby/2.5.0/gems/activesupport-5.1.2/lib/active_support/tagged_logging.rb", line 69, in tagged
  File "/app/vendor/bundle/ruby/2.5.0/gems/railties-5.1.2/lib/rails/rack/logger.rb", line 24, in call
  File "/app/vendor/bundle/ruby/2.5.0/gems/action