mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-26 09:03:43 +01:00
Fix nil error when trying to fetch key for signature verification (#17747)
This commit is contained in:
parent
642528f455
commit
883099f3c9
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ module JsonLdHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def unsupported_uri_scheme?(uri)
|
def unsupported_uri_scheme?(uri)
|
||||||
!uri.start_with?('http://', 'https://')
|
uri.nil? || !uri.start_with?('http://', 'https://')
|
||||||
end
|
end
|
||||||
|
|
||||||
def invalid_origin?(url)
|
def invalid_origin?(url)
|
||||||
|
|
Loading…
Reference in a new issue