6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/17/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3710] Get domain is invalid in some cases deleting virtual address
*
Your Email Address
*
Spam protection
Enter the letters below:
. . ..___. .. . |_/ |[__ |_/ \ / | \\__|[___| \ \/
Comment
> The next code of virtuals/delete.php isn't fine when I delete some > virtual address which destination is a remote address. > > line 21 to 28: > > > > $vars = Variables::getDefaultVariables(); > > $domain = Vilma::getDomain(); > > $virtual_id = $vars->get('virtual_id'); > > $formname = $vars->get('formname'); > > > > $virtual = $vilma->getVirtual($virtual_id); > > $domain = Vilma::stripDomain($virtual['virtual_destination']); > > $domain = $vilma->getDomainByName($domain); > > > > > > The line 27 must be $domain = Vilma::stripDomain($virtual['virtual_email']); > > because virtual_destination can be someuser@gmail.com > > > > I don't know if the line 22 ("$domain = Vilma::getDomain();") have > any sense if after that, in > > the line 27, $domain is overwrited. > > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers