From 54d72d01a265cfa26066e9a8e4e07cb386f66905 Mon Sep 17 00:00:00 2001 From: Joe Rafaniello Date: Tue, 22 Oct 2024 17:08:22 -0400 Subject: [PATCH] Merge pull request #9295 from Fryguy/fix_marshal_dump Fix issue when using kerberos auth with Rails 7 (cherry picked from commit fd3d3e9749f1a791f9404214abf564145c01d57f) --- app/controllers/application_controller/wait_for_task.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller/wait_for_task.rb b/app/controllers/application_controller/wait_for_task.rb index b682c6d84ed..9c87f7b6581 100644 --- a/app/controllers/application_controller/wait_for_task.rb +++ b/app/controllers/application_controller/wait_for_task.rb @@ -49,7 +49,7 @@ def initiate_wait_for_task(options = {}) session[:async][:params] ||= {} # save the incoming parms + extra_params - session[:async][:params] = params.deep_dup.merge(options[:extra_params] || {}) + session[:async][:params] = params.to_unsafe_h.merge(options[:extra_params] || {}) session[:async][:params][:task_id] = task_id # override method to be called, when the task is done