Skip to content

Accept application/jrd+json for webfinger queries

Ghost User requested to merge (removed):develop into develop

I run into an issue with Plume, and figured out it was because Pleroma did not accept application/jrd+json for webfinger queries.

curl 'https://pleroma.local/.well-known/webfinger?resource=acct:pleroma@pleroma.local' -H 'accept: application/jrd+json' -v

Would return a stack-trace. However tinkering around in Pleroma's code it seemed to accept jrd+json. After some search in Pleroma's transitive dependencies, I found this. The correct mime type for application/jrd+json is in fact jrd, not jrd+json. Changing jrd+json to jrd where it appeared as a mime type fixed my issue

Merge request reports