aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-01-10 00:29:05 +0100
committerMario Vavti <mario@mariovavti.com>2019-01-10 00:29:05 +0100
commit90b6afe06bacd5377c638c89045801296d69ec44 (patch)
treef19aaea70d6711c373c74464897106aac770bf0e /include/text.php
parentb22caef65fe2d87d702592bd0ecb057d21c168dd (diff)
downloadvolse-hubzilla-90b6afe06bacd5377c638c89045801296d69ec44.tar.gz
volse-hubzilla-90b6afe06bacd5377c638c89045801296d69ec44.tar.bz2
volse-hubzilla-90b6afe06bacd5377c638c89045801296d69ec44.zip
we must sslify all possible content variables
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 3cc21e4ce..26cb61977 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1691,7 +1691,14 @@ function prepare_body(&$item,$attach = false,$opts = false) {
if(local_channel() == $item['uid'])
$filer = format_filer($item);
- $s = sslify($s);
+ if($s)
+ $s = sslify($s);
+
+ if($photo)
+ $photo = sslify($photo);
+
+ if($event)
+ $event = sslify($event);
$prep_arr = array(
'item' => $item,