This project is archived and is in readonly mode.

#3184 ✓committed
Nathaniel Talbott

[PATCH] Parameter Filtering Blows up with Fixnum values

Reported by Nathaniel Talbott | September 11th, 2009 @ 02:22 AM

When receiving an XML payload, filter_parameters can receive parameter values that are already typecast. If those values are Fixnums or other objects that throw an error when sent #dup, then an exception is thrown and since it's in logging it will typically not make it out to exception notification.

A working patch with a test is attached.

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>

People watching this ticket

Attachments