Home » Images » Image_Color » Bug #1369
Empty last line breaks Image_Color Version 1.0.0 if used with header()
Details
| Submitted | 2004-05-08 22:20 UTC |
|---|---|
| From | tb at despammed dot com |
| Status | Bogus |
| Package | Image_Color |
| PHP Version | 4.3.3 |
| OS | Linux / Debian |
| Roadmaps | (Not assigned) |
Comments
[2004-05-08 22:20 UTC] tb at despammed dot com
Description:
------------
after a fresh install (using "pear install Image_Color") the file Color.php contains an empty last line which effectively breaks the package for use with the header()-function.
I found this while using Image_Graph, which is then unable to use the header() function and barfs.
Reproduce code:
---------------
require_once("Image/Color.php");
Expected result:
----------------
The code should not give output, but it outputs an empty line.
Actual result:
--------------
An empty line.
[2004-05-08 22:24 UTC] tb at despammed dot com
made title more appropriate -- it doesnt break the package *all the time*, but only under special use.