Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sends malformed WebFinger requests #30

Open
rfc1036 opened this issue Nov 30, 2022 · 0 comments
Open

sends malformed WebFinger requests #30

rfc1036 opened this issue Nov 30, 2022 · 0 comments

Comments

@rfc1036
Copy link

rfc1036 commented Nov 30, 2022

I see in my log:

2a0a:4cc0:0:d8b:4803:cbff:fe28:a5a3 - - [01/Dec/2022:00:36:07 +0100] "GET /.well-known/host-meta HTTP/1.1" 200 5339 "-" "python-requests/2.28.1"
2a0a:4cc0:0:d8b:4803:cbff:fe28:a5a3 - - [01/Dec/2022:00:36:07 +0100] "HEAD /.well-known/webfinger?resource=md@linux.it HTTP/1.1" 404 5069 "-" "python-requests/2.28.1"
2a0a:4cc0:0:d8b:4803:cbff:fe28:a5a3 - - [01/Dec/2022:00:36:11 +0100] "GET /.well-known/host-meta HTTP/1.1" 200 5339 "-" "python-requests/2.28.1"
2a0a:4cc0:0:d8b:4803:cbff:fe28:a5a3 - - [01/Dec/2022:00:36:11 +0100] "HEAD /.well-known/webfinger?resource=md@linux.it HTTP/1.1" 404 5069 "-" "python-requests/2.28.1"

But this is wrong: the resource query parameter must have an URI as its argument, in this case resource=acct:md@linux.it.

This is specified by RFC 7033 section 4.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant