[Tickets #1070] NEW: problem.php -- bad "explode"

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Jan 4 13:34:43 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1070
-----------------------------------------------------------------------
 Ticket     | 1070
 Created By | dustin at ywlcs.org
 Summary    | problem.php -- bad "explode"
 Queue      | Horde Base
 Version    | 3.0
 State      | Unconfirmed
 Priority   | 1. Low
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


dustin at ywlcs.org (2005-01-04 13:34) wrote:

                list($mailbox, $host) = @explode('@', $email);
                if (empty($host)) {
                    $host = $conf['server']['name'];
                }

If the "explode" returns other than two results, the first line produces an
error, although the second line is probably supposed to catch just that
error.  The required changes are trivial.




More information about the bugs mailing list