-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Wrong handling of .well-known #10994
Comments
you should try to get this bug patched and the patch widely deployed before august, or you might get some very confused users. |
Why? |
fedicraft's "does this support fedicraft" check is to probe status codes. since it's returning 200 when it shouldn't, fedicraft thinks misskey supports fedicraft. which is a misskey bug. |
I'm not convinced by that August thing but anyway this is a bug. Generally I'd be happier if Misskey binds to some valid list of misskey/packages/backend/src/server/web/ClientServerService.ts Lines 673 to 676 in f5dfb64
|
💡 Summary
Misskey handles .well-known wrong. Despite having code to send 204, it never actually does so.
🥰 Expected Behavior
Misskey should return [404? 204?] for .well-known's it doesn't handle.
🤬 Actual Behavior
Misskey sends 200 for .well-known's it doesn't handle.
📝 Steps to Reproduce
Visit any .well-known like .well-known/doesntexist or the proposed .well-known/resource-that-should-not-exist-whose-status-code-should-not-be-200
📌 Environment
...
💻 Frontend
13.x.x
🛰 Backend (for server admin)
The text was updated successfully, but these errors were encountered: