|
|
@ -80,11 +80,6 @@ if (strlen($data) < 1024 && filter_var($data, FILTER_VALIDATE_URL)) {
|
|
|
|
$RCMAIL->output->redirect($data);
|
|
|
|
$RCMAIL->output->redirect($data);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// deliver alt image
|
|
|
|
|
|
|
|
if (!$data && ($alt_img = rcube_utils::get_input_value('_alt', rcube_utils::INPUT_GPC)) && is_file($alt_img)) {
|
|
|
|
|
|
|
|
$data = file_get_contents($alt_img);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// cache for one day if requested by email
|
|
|
|
// cache for one day if requested by email
|
|
|
|
if (!$cid && $email) {
|
|
|
|
if (!$cid && $email) {
|
|
|
|
$RCMAIL->output->future_expire_header(86400);
|
|
|
|
$RCMAIL->output->future_expire_header(86400);
|
|
|
|