Project

General

Profile

Bug #25755

log when unpermitted params are passed in all environments

Added by Tomer Brisker 9 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Rails
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

currently, we only log in production, and in developement/tests we silently filter them out.


Related issues

Related to Foreman - Feature #22285: Present error message when passing integer when array expected for API callNew

Associated revisions

Revision 0a18082d (diff)
Added by Tomer Brisker 9 months ago

Fixes #25755 - log when unpermitted params are used in all envs

:strict option is a leftover from protected attributes and is ignored.
Only :log, :raise or false are valid options.

History

#1 Updated by Tomer Brisker 9 months ago

  • Related to Feature #22285: Present error message when passing integer when array expected for API call added

#2 Updated by The Foreman Bot 9 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6365 added

#3 Updated by Michael Moll 9 months ago

  • Fixed in Releases 1.21.0 added

#4 Updated by Tomer Brisker 9 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF