You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nyastodon/app/lib
Claire 22cd1e6ab5 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.
2 years ago
..
activitypub
admin
connection_pool
nodeinfo
ostatus
proof_provider
rss
settings
access_token_extension.rb
account_reach_finder.rb
activity_tracker.rb
application_extension.rb
cache_buster.rb
delivery_failure_tracker.rb
entity_cache.rb
extractor.rb
fast_geometry_parser.rb
fast_ip_map.rb
feed_manager.rb
formatter.rb
hash_object.rb
inline_renderer.rb
language_detector.rb
potential_friendship_tracker.rb
proof_provider.rb
rate_limiter.rb
request.rb
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) 2 years ago
webfinger_resource.rb