This project is archived and is in readonly mode.

#840 ✓resolved
Jamis Buck

ActiveResource logging bug

Reported by Jamis Buck | August 15th, 2008 @ 03:23 PM | in 2.x

In Connection#request, the logger call uses a mix of printf-style formatting and string interpolation. This causes problems if any of the interpolated strings have '%' characters in them, leading to (in the best case) badly formatted strings and (in the worst case) obscure exceptions. This patch changes the logger invocation to use only printf-style formatting.

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

Referenced by

Pages