Aleksander Machniak
2015-05-07 e84fafcec22e7b460db03248dc23ed6b053b15c9
Fix security issue in contact photo handling (#1490379)
2 files modified
6 ■■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/steps/addressbook/photo.inc 5 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -24,6 +24,7 @@
- Fix mouseup event handling when dragging a list record (#1490359)
- Fix bug where preview_pane setting wasn't always saved into user preferences (#1490362)
- Fix bug where messages count was not updated after message move/delete with skip_deleted=false (#1490372)
- Fix security issue in contact photo handling (#1490379)
RELEASE 1.1.1
-------------
program/steps/addressbook/photo.inc
@@ -80,11 +80,6 @@
    $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
if (!$cid && $email) {
    $RCMAIL->output->future_expire_header(86400);