6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/1/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9972] Link attachment couldn't be downloaded
*
Your Email Address
*
Spam protection
Enter the letters below:
\ /.___.__ . .. . >< [__ [__)|_/ |__| / \| | | \| |
Comment
> Hello, > > There is a problem with H4 and linked attachment. > > This is not fixed en GIT version: > http://git.horde.org/co.php/imp/attachment.php?rt=horde-git&ws=1&r=8cc572d2fc648758a682d4a19742c50bcb36e62e > > The link sent is http://address/imp/attachment.php?u=mail&t=timestamp&f=file > > (i can confirm it with imp/lib/Compose.php file: > http://git.horde.org/co.php/imp/lib/Compose.php?rt=horde-git&ws=1&r=22d8cbacb6182e2c36745e794696340337e2d93f lines > 2449->2463) > > and the expected is user_name=mail&time_stamp=timestamp&filename=file > > > > > Solution could be: > > imp/attachment.php (add lines between line 30 and line 31) > $vars->mail_user = $vars->u; > $vars->time_stamp = $vars->t; > $vars->file_name = $vars->f; > > also there is a bug in line 31: > if (!$vars->mail_user || !$vars->$time_stamp || !$vars->file_name) { > > $vars->time_stamp instead of $vars->$time_stamp > > > > > Furthermore, there is a problem sending a mail when attachment is downloaded > > Solution could be: > > imp/attachment.php > Change line 107: $msg->send($mail_address, $msg_headers); > with line: $msg->send($mail_address, $msg_headers, > $GLOBALS['injector']->getInstance('IMP_Mail')); > > >
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