Bugs item #2786284, was opened at 2009-05-03 23:03
Message generated for change (Tracker Item Submitted) made by christian_boltz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2786284&group_id=191583
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Christian Boltz (christian_boltz)
Assigned to: Nobody/Anonymous (nobody)
Summary: alias target displayed incorrect in some cases
Initial Comment:
I found an interesting bug in list-virtual.php which was introduced in r572.
Reproducer:
1. create a mailbox "ro...@ex..."
2. create an alias "te...@ex..." pointing to "rog...@ex...,fo...@ex..."
Result: The alias target is displayed as "rog...@ex..." :-(
Responsible code section in list-virtual.php (line 158 in r650):
/* Has a real mailbox as well? Remove the address from $row['goto'] in order to edit just the real aliases */
if (strstr ($row['goto'], ',') != FALSE)
{
$row['goto'] = preg_replace ('/\s*,*\s*' . $row['address'] . '\s*,*\s*/', '', $row['goto']);
}
Commenting out these lines solves the bug - but that's not the solution we want...
(even if this might be a corner case, we should fix it before releasing 2.3)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=937964&aid=2786284&group_id=191583
|