[Tickets #14389] A new IMP preference to always allow to show images from configured domains
noreply at bugs.horde.org
noreply at bugs.horde.org
Tue Jun 7 13:59:51 UTC 2016
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/14389
------------------------------------------------------------------------------
Ticket | 14389
Created By | albert.solana at upcnet.es
Summary | A new IMP preference to always allow to show images
| from configured domains
Queue | IMP
Version | Git master
Type | Enhancement
State | New
Priority | 1. Low
Milestone |
Patch | 1
Owners |
------------------------------------------------------------------------------
albert.solana at upcnet.es (2016-06-07 13:59) wrote:
This is a suggestion of new IMP preference to always allow to show
images from configured domains for all users.
It overrides "the Block images in messages unless they are
specifically requested to be loaded?" users preference just for the
choosen domains. It acts as a kind of global domains whitelist.
This new preference would be configured adding a new
'image_replacement_domain' IMP preference in prefs.local.php with the
choosen domain list, for instance:
$_prefs['image_replacement_domain']['value'] =
json_encode(array('domain1.com', 'domain2.com'));
Some code has to be added to these files:
imp/lib/Images.php
imp/lib/Prefs/Special/ImageReplacement.php
I've attached a patch with the code additions.
More information about the bugs
mailing list