From fcab22b80f81c9b1eb956183f2ac6a9984daae63 Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Sat, 23 Feb 2013 10:06:59 -0700 Subject: [PATCH] run limit_body_size on imported emails, which don't go through consume_feed --- include/onepoll.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/onepoll.php b/include/onepoll.php index f66a48dd4..d5b1668d4 100644 --- a/include/onepoll.php +++ b/include/onepoll.php @@ -426,6 +426,7 @@ function onepoll_run(&$argv, &$argc){ continue; } $datarray['body'] = escape_tags($r['body']); + $datarray['body'] = limit_body_size($datarray['body']); logger("Mail: Importing ".$msg_uid." for ".$mailconf[0]['user']);