From 3ef8cf8bd7fd93ec9948d40d2b9b4d5dcc48ea18 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 18 Dec 2024 14:53:03 -0300 Subject: [PATCH] fix: permitir todos los parametros antes de informarlos #17991 --- app/controllers/active_storage/disk_controller_decorator.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/controllers/active_storage/disk_controller_decorator.rb b/app/controllers/active_storage/disk_controller_decorator.rb index 3b0bf07b..bf1c15f7 100644 --- a/app/controllers/active_storage/disk_controller_decorator.rb +++ b/app/controllers/active_storage/disk_controller_decorator.rb @@ -68,6 +68,9 @@ module ActiveStorage def page_not_found(exception) head :not_found + + params.permit! + ExceptionNotifier.notify_exception(exception, data: { params: params.to_hash }) end end