Commit 7bba19a8 authored by Chris Hobbs's avatar Chris Hobbs

Merge branch 'fix-lack-of-downcase' into 'master'

Fix lack of downcase (Fixes mastodon #8485)

See merge request !2
parents 8a65122f 8abd8e9c
Pipeline #211 passed with stage
in 51 seconds
......@@ -8,7 +8,7 @@ class DeliverWorker
def perform(domain : String, request_body : String)
inbox_url = PubRelay.redis.hget("subscription:#{domain}", "inbox_url")
return unless inbox_url
inbox_url = URI.parse(inbox_url)
inbox_url = URI.parse(inbox_url.downcase)
body_hash = OpenSSL::Digest.new("sha256")
body_hash.update(request_body)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment