6.0.0-git
2021-01-24

[#1070] problem.php -- bad "explode"
Summary problem.php -- bad "explode"
Queue Horde Base
Queue Version 3.0
Type Bug
State Resolved
Priority 1. Low
Owners
Requester dustin (at) ywlcs (dot) org
Created 2005-01-04 (5864 days ago)
Due
Updated 2005-01-05 (5863 days ago)
Assigned
Resolved 2005-01-05 (5863 days ago)
Milestone
Patch No

History
2005-01-05 15:03:43 Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Yes, they were trivial, but all the same, we've got a lot on our 
plates. It'd be awfully nice of you to supply patches in the future.
2005-01-04 21:34:42 dustin (at) ywlcs (dot) org Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ problem.php -- bad "explode"
Queue ⇒ Horde Base
Reply to this comment
                 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.

Saved Queries