From b5cacb09e3a8e9f04bbf92d179f9c2c96ea05011 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Sun, 13 Nov 2022 19:03:43 -0700 Subject: Permit Mastodon's weird HTML through --- users/views/activitypub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/views') 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: -- cgit v1.2.3