Actions
Defect #36394
closedAvoid passing ActionController::Parameters outside of MailHandlerController
Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Currently the MailHandlerController
passes an instance of ActionController::Parameters
to the MailHandler
. The options
holds a duplicate ActionController::Parameters
of the Controller params
.
This can cause difficulties in later processing. We propose explicitly permit
-ing the params
that will be used later and using a Hash for the options
.
Files
Actions