kopia lustrzana https://github.com/friendica/friendica
Merge pull request #628 from fermionic/20130223-limit-body-size-on-email-imports
run limit_body_size on imported emails, which don't go through consume_feedpull/629/merge
commit
cf677a3003
|
@ -426,6 +426,7 @@ function onepoll_run(&$argv, &$argc){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$datarray['body'] = escape_tags($r['body']);
|
$datarray['body'] = escape_tags($r['body']);
|
||||||
|
$datarray['body'] = limit_body_size($datarray['body']);
|
||||||
|
|
||||||
logger("Mail: Importing ".$msg_uid." for ".$mailconf[0]['user']);
|
logger("Mail: Importing ".$msg_uid." for ".$mailconf[0]['user']);
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue