This project is archived and is in readonly mode.

#2927 ✓committed
Cody Fauser

filter_parameter_logging fails with scalar values in an array

Reported by Cody Fauser | July 20th, 2009 @ 09:00 PM | in 2.3.4

filter_parameter_logging was enhanced to correctly filter within array params in http://github.com/rails/rails/commit/9407f6e9a428b37517fdd779eac15e....

This patch has a slight issue, which is that it fails when the values within the array are not hashes. This patch fixes the issue.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages