aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-01-10 14:12:16 +0100
committerMax Kostikov <max@kostikov.co>2019-01-10 14:12:16 +0100
commitd32360cb3ec447969dcdf9f1427a4b55134dd1bb (patch)
treec77b9d76f758035714d269e8db713e7d211e5432
parent01f4ce96f1fe835db774acffb65b2553e1b44c0a (diff)
parent90b6afe06bacd5377c638c89045801296d69ec44 (diff)
downloadvolse-hubzilla-d32360cb3ec447969dcdf9f1427a4b55134dd1bb.tar.gz
volse-hubzilla-d32360cb3ec447969dcdf9f1427a4b55134dd1bb.tar.bz2
volse-hubzilla-d32360cb3ec447969dcdf9f1427a4b55134dd1bb.zip
Merge branch 'core_fixes' into 'dev'
we must sslify all possible content variables See merge request hubzilla/core!1464
-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,