1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app
Claire 3517867b76
Fix confusing error when webfinger request returns empty document (#16986)
For some reason, some misconfigured servers return an empty document when
queried over webfinger. Since an empty document does not lead to a parse
error, the error is not caught properly and triggers uncaught exceptions
later on.

This PR fixes that by immediately erroring out with `Webfinger::Error` on
getting an empty response.
2021-11-14 21:55:40 +01:00
..
chewy
controllers
helpers
javascript
lib Fix confusing error when webfinger request returns empty document (#16986) 2021-11-14 21:55:40 +01:00
mailers
models
policies
presenters
serializers
services
validators
views
workers Fix AccountNote not having a maximum length (#16942) 2021-11-06 00:12:25 +01:00