Project

General

Profile

Actions

Defect #36394

closed

Avoid passing ActionController::Parameters outside of MailHandlerController

Added by Felix Schäfer almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
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

Also available in: Atom PDF