Fix trying to fetch key from empty URI when verifying HTTP signature (#16100)
This commit is contained in:
@ -67,7 +67,7 @@ module JsonLdHelper
|
||||
unless id
|
||||
json = fetch_resource_without_id_validation(uri, on_behalf_of)
|
||||
|
||||
return unless json
|
||||
return if !json.is_a?(Hash) || unsupported_uri_scheme?(json['id'])
|
||||
|
||||
uri = json['id']
|
||||
end
|
||||
|
Reference in New Issue
Block a user