aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php12
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