What does this PR do?
This is a fix for a possible spoofing attack. See also https://nvd.nist.gov/vuln/detail/CVE-2022-24307 for Mastodon, https://iceshrimp.dev/iceshrimp/iceshrimp/commit/febb499fcb5fe3d56ca79025e4b5851464660c38 from Iceshrimp and https://firefish.dev/firefish/firefish/-/commit/e790d6be90dfd5dc6471b650a54520761bb9d745 for Firefish
Thanks to @tesaguri@fedibird.com for reporting and providing the patch.
I have compiled this, and the backend tests still run, but proper testing requires talking to other instances… we should deploy this to dev.joinsharkey.com
and test it!
Contribution Guidelines By submitting this merge request, you agree to follow our Contribution Guidelines