libervia-backend/sat/plugins/plugin_comp_ap_gateway
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Goffi 1f03f3ee14 component AP gateway: work around encoding bug in Mastodon:
Mastodon in wrongly unquoting URL path in `(request-target)`, and thus Libervia was doing
the same to check signature. However that doesn't work with Pleroma which is using the
path value used in the request (percent-encoded), and thus Pleroma signature were
rejected.

To work around that, signature is first checked without unquoting, and if this fails a new
check is done with unquoting.

Bug has been reported at https://github.com/mastodon/mastodon/issues/18871

rel 371
2022-08-31 17:07:03 +02:00
..
__init__.py component AP gateway: fix headers case in signature: 2022-08-31 17:07:03 +02:00
constants.py component AP gateway: handle XMPP attachments -> AP likes conversion: 2022-07-20 17:53:12 +02:00
http_server.py component AP gateway: work around encoding bug in Mastodon: 2022-08-31 17:07:03 +02:00
pubsub_service.py component AP gateway (pubsub): only emit a Follow activity for microblog subscription: 2022-07-21 18:05:20 +02:00
regex.py component AP gateway: convert XMPP mentions to AP: 2022-07-10 16:15:06 +02:00