Skip to content
Snippets Groups Projects
Unverified Commit 883099f3 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix nil error when trying to fetch key for signature verification (#17747)

parent 642528f4
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment