[Pkg-roundcube-maintainers] Bug#843795: In a multipart/related email with an image, the image is not displayed

Alberto Ruiz albertor at yquetal.com
Wed Nov 9 17:10:13 UTC 2016


 

Package: roundcube-core
Version: 0.7.2-9+deb7u4
Debian version:
7.11

Dear Maintainer,

In the file
/usr/share/roundcube/program/include/rcube_message.php line 92 a
parameter is missing in the call to the function rcmail_url().


$this->opt = array(
 'safe' => $this->is_safe,
 'prefer_html' =>
$this->app->config->get('prefer_html'),
 'get_url' => rcmail_url('get',
array(
 '_mbox' => $this->imap->get_mailbox_name(), '_uid' => $uid),
true)
 );

Line 93 should look like this.

 '_mbox' =>
$this->imap->get_mailbox_name(), '_uid' => $uid), null, true) 

The
rcmail_url() function in the main.inc file: 

function
rcmail_url($action, $p=array(), $task=null, $secure=false)
{
 $app =
rcmail::get_instance();
 return $app->url((array)$p + array('_action' =>
$action, 'task' => $task), $secure);
} 

With the bug, $task is set to
true. 

Regards,

Alberto 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20161109/23fff493/attachment.html>


More information about the Pkg-roundcube-maintainers mailing list