images break when there's a newline at the end of LocalSettings.php
Status: Beta
Brought to you by:
worden
I think it's weird that the rest of the wiki doesn't break when there's a newline after the closing ?>, but anyway it does break the raw output of Special:GetProjectFile. The newline gets inserted just before the file contents, and the Content-length in the header gets increased by one by apache. With binary image files, this makes them corrupt and undisplayable.
To do: figure out where the newline goes when serving the wiki pages, and whether I can make it go there when doing images too.
Anonymous