also strip title from notification of private messages - it leaks potentially sensitive message info. Note: there is still information leakage of sender but this is difficult to avoid completely. "You've got an email from (we're sorry, we can't tell you...)"

This commit is contained in:
friendica 2013-05-10 16:09:24 -07:00
parent 34526e8253
commit 99c842ff39

View File

@ -397,7 +397,7 @@ function notification($params) {
if(! $private)
break;
case NOTIFY_MAIL:
$datarray['textversion'] = $datarray['htmlversion'] = '';
$datarray['textversion'] = $datarray['htmlversion'] = $datarray['title'] = '';
break;
default:
break;