mirror of
https://github.com/friendica/friendica
synced 2024-12-23 09:20:17 +00:00
prevent email from leaking in feeds
This commit is contained in:
parent
15c023a218
commit
f0cf0ebb48
1 changed files with 4 additions and 0 deletions
|
@ -180,6 +180,10 @@ function get_feed_for(&$a, $dfrn_id, $owner_nick, $last_update, $direction = 0)
|
|||
|
||||
foreach($items as $item) {
|
||||
|
||||
// prevent private email from leaking.
|
||||
if($item['network'] === NETWORK_MAIL)
|
||||
continue;
|
||||
|
||||
// public feeds get html, our own nodes use bbcode
|
||||
|
||||
if($public_feed) {
|
||||
|
|
Loading…
Reference in a new issue