concrete5/concrete5 — pull request #181 by jamesshannon (2011-10-24 08:29:17+00:00)
Title: Added ob_clean() to get rid of any errant data buffered up.

On a 5.4.2.1 install (yes, I know), I was having problems with downloaded images not being readable. On examining, there were some extraneous linefeeds at the beginning of the file. Probably due to linefeeds before/after php tags in include files. In fact, my site.php has some extra linefeeds.

Clearing the buffer seems like a reasonable precaution.