Commit 322e2b87 authored by chandi's avatar chandi Committed by Matthias Larisch

sandbox email iframes

parent 26585e35
......@@ -168,7 +168,7 @@ class MailboxView extends View
}
if ($mail['time_ts'] > 1391338283) {
$body = '<iframe style="width:100%;height:100%;border:0;margin:0;padding:0;" frameborder="0" src="/xhrapp.php?app=mailbox&m=fmail&id=' . $mail['id'] . '"></iframe>';
$body = '<iframe sandbox="" style="width:100%;height:100%;border:0;margin:0;padding:0;" frameborder="0" src="/xhrapp.php?app=mailbox&m=fmail&id=' . $mail['id'] . '"></iframe>';
} else {
$body = nl2br($mail['body']);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment