diff options
author | Lain Soykaf <lain@lain.com> | 2024-05-22 12:57:30 +0400 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2024-05-22 17:37:49 +0400 |
commit | 29b968ce2006de47d8f1dbc161756e35ba5944a1 (patch) | |
tree | f34baaa1737fcde6edeb8278db455775a94e40ad /test/fixtures/webfinger | |
parent | fb4aa9f7250ecfcbd506f70cf8ac6732564a6b26 (diff) | |
download | pleroma-29b968ce2006de47d8f1dbc161756e35ba5944a1.tar.gz pleroma-29b968ce2006de47d8f1dbc161756e35ba5944a1.zip |
Webfinger: Add test showing wrong webfinger behavior
Diffstat (limited to 'test/fixtures/webfinger')
-rw-r--r-- | test/fixtures/webfinger/graf-imposter-webfinger.json | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/test/fixtures/webfinger/graf-imposter-webfinger.json b/test/fixtures/webfinger/graf-imposter-webfinger.json new file mode 100644 index 000000000..e7010f606 --- /dev/null +++ b/test/fixtures/webfinger/graf-imposter-webfinger.json @@ -0,0 +1,41 @@ +{ + "subject": "acct:graf@poa.st", + "aliases": [ + "https://fba.ryona.agenc/webfingertest" + ], + "links": [ + { + "rel": "http://webfinger.net/rel/profile-page", + "type": "text/html", + "href": "https://fba.ryona.agenc/webfingertest" + }, + { + "rel": "self", + "type": "application/activity+json", + "href": "https://fba.ryona.agenc/webfingertest" + }, + { + "rel": "http://ostatus.org/schema/1.0/subscribe", + "template": "https://fba.ryona.agenc/contact/follow?url={uri}" + }, + { + "rel": "http://schemas.google.com/g/2010#updates-from", + "type": "application/atom+xml", + "href": "" + }, + { + "rel": "salmon", + "href": "https://fba.ryona.agenc/salmon/friendica" + }, + { + "rel": "http://microformats.org/profile/hcard", + "type": "text/html", + "href": "https://fba.ryona.agenc/hcard/friendica" + }, + { + "rel": "http://joindiaspora.com/seed_location", + "type": "text/html", + "href": "https://fba.ryona.agenc" + } + ] +} |