Fix nil error when trying to fetch key for signature verification (#17747)
parent
642528f455
commit
883099f3c9
|
@ -54,7 +54,7 @@ module JsonLdHelper
|
|||
end
|
||||
|
||||
def unsupported_uri_scheme?(uri)
|
||||
!uri.start_with?('http://', 'https://')
|
||||
uri.nil? || !uri.start_with?('http://', 'https://')
|
||||
end
|
||||
|
||||
def invalid_origin?(url)
|
||||
|
|
Reference in New Issue