[PHPBB3-10898] Do not write ?> into config.php to avoid whitespace output Created: 18/May/12 Updated: 23/May/12 Resolved: 18/May/12
I do not know if we can consider this as a bug but it could be interesting to fix it. The problem is when you have a blank line (\n) after the "?>" in the config.php file, the download/file does not display avatars anymore because a problem of character.
How to reproduce:
Just add a blank line after the end of php script "?>" and reload an avatar display.
With a blank line: (image) http://community.olympe.in/download/file1.php?avatar=121_1337297805.png&header=yes
Without blank line (image) http://community.olympe.in/download/file2.php?avatar=121_1337297805.png&header=yes
Web observe a small difference between the two binaries at the end (just on char).
|Comment by Andreas Fischer [ 18/May/12 ]|
This problem could be completely avoided by removing "?>" completely from the generated config.php file.
|Comment by olympe [ 18/May/12 ]|
Thanks for your reply. Perfect bugfix.
|Comment by brunoais [ 23/May/12 ]|
The ?> is not there and all seems correct