Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

This project is archived and is in readonly mode.

ActiveResource logging bug

#840

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.

Reported by Jamis Buck · August 15th, 2008 @ 03:23 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [aad7cac6add2fa01cebbb36e9f546292d632c9ea]) Fixed problems with the logger used if the logging string included %'s [#840 ActiveResource logging bug state:resolved] (Jamis Buck) http://github.com/rails/rails/co...

    August 15th, 2008 @ 03:27 PM