summaryrefslogtreecommitdiffstats
path: root/users/views
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-13 19:03:43 -0700
committerAndrew Godwin2022-11-13 19:03:43 -0700
commitb5cacb09e3a8e9f04bbf92d179f9c2c96ea05011 (patch)
treef6a47114661122c4248e0132f1f5ba32f7ab9786 /users/views
parentddb3436275d3f02183f515c38cd3193cd1dfe2f4 (diff)
downloadtakahe-b5cacb09e3a8e9f04bbf92d179f9c2c96ea05011.tar.gz
takahe-b5cacb09e3a8e9f04bbf92d179f9c2c96ea05011.tar.bz2
takahe-b5cacb09e3a8e9f04bbf92d179f9c2c96ea05011.zip
Permit Mastodon's weird HTML through
Diffstat (limited to 'users/views')
-rw-r--r--users/views/activitypub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/views/activitypub.py b/users/views/activitypub.py
index 54f04bc..1a709ac 100644
--- a/users/views/activitypub.py
+++ b/users/views/activitypub.py
@@ -118,7 +118,7 @@ class Inbox(View):
# See if we can fetch it right now
async_to_sync(identity.fetch_actor)()
if not identity.public_key:
- print("Cannot get actor")
+ print("Cannot get actor", document["actor"])
return HttpResponseBadRequest("Cannot retrieve actor")
# If there's a "signature" payload, verify against that
if "signature" in document: