diff options
author | Mario <mario@mariovavti.com> | 2022-01-27 21:56:13 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-01-27 21:56:13 +0000 |
commit | 0da69cb9c772dce33496a9ea642fab89195277a3 (patch) | |
tree | b1f3343f434336e814023f2a8c4e85ff2f95fa7a /Zotlabs/Lib/Activity.php | |
parent | 36e244060c3593f918676a61c788743a04555d9a (diff) | |
download | volse-hubzilla-0da69cb9c772dce33496a9ea642fab89195277a3.tar.gz volse-hubzilla-0da69cb9c772dce33496a9ea642fab89195277a3.tar.bz2 volse-hubzilla-0da69cb9c772dce33496a9ea642fab89195277a3.zip |
do not use escape_tags() for inbox
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r-- | Zotlabs/Lib/Activity.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php index d999d5ecf..74a146345 100644 --- a/Zotlabs/Lib/Activity.php +++ b/Zotlabs/Lib/Activity.php @@ -1759,9 +1759,9 @@ class Activity { q("update hubloc set hubloc_guid = '%s', hubloc_addr = '%s', hubloc_network = 'activitypub', hubloc_url = '%s', hubloc_host = '%s', hubloc_callback = '%s', hubloc_updated = '%s', hubloc_id_url = '%s' where hubloc_hash = '%s'", dbesc($url), dbesc(escape_tags($webfinger_addr)), - dbesc(escape_tags($baseurl)), - dbesc(escape_tags($hostname)), - dbesc(escape_tags($inbox)), + dbesc($baseurl), + dbesc($hostname), + dbesc($inbox), dbescdate(datetime_convert()), dbesc($profile), dbesc($url) @@ -1789,9 +1789,9 @@ class Activity { 'hubloc_hash' => $url, 'hubloc_addr' => $webfinger_addr, 'hubloc_network' => 'activitypub', - 'hubloc_url' => escape_tags($baseurl), - 'hubloc_host' => escape_tags($hostname), - 'hubloc_callback' => escape_tags($inbox), + 'hubloc_url' => $baseurl, + 'hubloc_host' => $hostname, + 'hubloc_callback' => $inbox, 'hubloc_updated' => datetime_convert(), 'hubloc_primary' => 1, 'hubloc_id_url' => $profile |