diff --git a/include/functions.php b/include/functions.php index e1e63c2a3..60aebe0da 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1585,6 +1585,7 @@ } if ($entry->nodeName == 'img') { + $entry->setAttribute('referrerpolicy', 'no-referrer'); if ($entry->hasAttribute('src')) { $is_https_url = parse_url($entry->getAttribute('src'), PHP_URL_SCHEME) === 'https';