mastodon/app/lib
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
..
activitypub Fix addressing of remote groups' followers (#16700) 2021-09-08 23:33:23 +02:00
admin Fix retention rate computation (#16854) 2021-10-14 22:20:37 +02:00
connection_pool
nodeinfo
ostatus
proof_provider
rss
settings
access_token_extension.rb
account_reach_finder.rb
activity_tracker.rb Add graphs and retention metrics to admin dashboard (#16829) 2021-10-14 20:44:59 +02:00
application_extension.rb
cache_buster.rb
delivery_failure_tracker.rb
entity_cache.rb
extractor.rb
fast_geometry_parser.rb Switch from unmaintained paperclip to kt-paperclip (#16724) 2021-09-29 23:52:36 +02:00
fast_ip_map.rb
feed_manager.rb
formatter.rb
hash_object.rb
inline_renderer.rb
language_detector.rb
link_details_extractor.rb Fix no link previews being generated for pages with invalid structured data (#16979) 2021-11-13 23:07:13 +01:00
permalink_redirector.rb Change routing paths to use usernames in web UI (#16171) 2021-09-26 05:46:13 +02:00
potential_friendship_tracker.rb
proof_provider.rb
rate_limiter.rb
request.rb Add support for structured data and more OpenGraph tags to link cards (#16938) 2021-11-05 23:23:05 +01:00
request_pool.rb
response_with_limit.rb
rss_builder.rb
search_query_parser.rb
search_query_transformer.rb
sidekiq_error_handler.rb
status_filter.rb
status_finder.rb
status_reach_finder.rb
tag_manager.rb
themes.rb
toc_generator.rb
user_settings_decorator.rb
validation_error_formatter.rb
video_metadata_extractor.rb
webfinger.rb Fix confusing error when webfinger request returns empty document (#16986) 2021-11-14 21:55:40 +01:00
webfinger_resource.rb