mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-22 14:53:15 +00:00
21ad21cb50
* Downcase signed_headers string before building the signed string
The HTTP Signatures draft does not mandate the “headers” field to be downcased,
but mandates the header field names to be downcased in the signed string, which
means that prior to this patch, Mastodon could fail to process signatures from
some compliant clients. It also means that it would not actually check the
Digest of non-compliant clients that wouldn't use a lowercased Digest field
name.
Thankfully, I don't know of any such client.
* Revert "Remove dead code (#8919)"
This reverts commit
|
||
---|---|---|
.. | ||
activitypub | ||
ostatus | ||
settings | ||
activity_tracker.rb | ||
application_extension.rb | ||
delivery_failure_tracker.rb | ||
entity_cache.rb | ||
exceptions.rb | ||
extractor.rb | ||
fast_geometry_parser.rb | ||
feed_manager.rb | ||
formatter.rb | ||
hash_object.rb | ||
inline_renderer.rb | ||
language_detector.rb | ||
potential_friendship_tracker.rb | ||
request.rb | ||
rss_builder.rb | ||
sanitize_config.rb | ||
sidekiq_error_handler.rb | ||
status_filter.rb | ||
status_finder.rb | ||
tag_manager.rb | ||
themes.rb | ||
user_settings_decorator.rb | ||
webfinger_resource.rb |