Commit 8abd8e9c authored by noellabo's avatar noellabo

fixup! fix-lack-of-downcase

parent 2894b8fb
......@@ -10,11 +10,11 @@ shards:
kemal:
github: kemalcr/kemal
commit: 09bb1fcd4073a374b3a61c99e48e05a866b23c08
commit: 9448360eac4273919c2bb6d2517a7234844aec2f
kemal-csrf:
github: kemalcr/kemal-csrf
version: 0.4.0
version: 0.5.0
kemal-session:
github: kemalcr/kemal-session
......@@ -42,9 +42,9 @@ shards:
sidekiq:
github: mperham/sidekiq.cr
commit: f3820aace32aa8d3b1cfe835536ee5ff981840fa
commit: 002d984edc24d901771a60139e7da6dcfe109736
webmock:
github: manastech/webmock.cr
version: 0.9.3
version: 0.10.0
......@@ -18,7 +18,7 @@ dependencies:
development_dependencies:
webmock:
github: manastech/webmock.cr
version: '>= 0.9.3'
version: '>= 0.10.0'
targets:
server:
......@@ -26,6 +26,6 @@ targets:
worker:
main: src/worker.cr
crystal: 0.25.1
crystal: 0.26.0
license: AGPL3
......@@ -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