| Summary | require_once inside of functions are dangerous |
| Queue | IMP |
| Queue Version | 4.3.3 |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | |
| Requester | earnie (at) users (dot) sourceforge (dot) net |
| Created | 3/26/09 (6293 days ago) |
| Due | |
| Updated | 3/30/09 (6289 days ago) |
| Assigned | |
| Resolved | 3/27/09 (6292 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
IMP 4.2.0 was released, by this commit:
http://cvs.horde.org/co.php/imp/lib/MIME/Headers.php?r=1.92.2.29
as apt-get. They make one too lazy and make one use assumptions that
aren't true. Sorry for the noise.
State ⇒ Resolved
Priority ⇒ 1. Low
IMP 4.2.0 was released, by this commit:
http://cvs.horde.org/co.php/imp/lib/MIME/Headers.php?r=1.92.2.29
Priority ⇒ 3. High
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ require_once inside of functions are dangerous
Type ⇒ Bug
State ⇒ Unconfirmed
'/config/header.php' and the file has
been included once already the second occurrence causes the $_header
array to not be
defined and errors are issued to the user. I changed line 133 of
lib/MIME/Headers.php
substituting "require_once" with "require" to resolve the issue. I
only noticed the
issue when reporting spam. Please excuse the lame report; I don't
have time to chase a
proper patch (the usual cry from users).
PHP 5.2.4-2ubuntu5.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Feb 11
2009 20:09:52)