We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a5ffe5 commit 73a87cfCopy full SHA for 73a87cf
lib/qiita/markdown/transformers/filter_iframe.rb
@@ -45,7 +45,7 @@ def host_of(url)
45
scheme = URI.parse(url).scheme
46
Addressable::URI.parse(url).host if ["http", "https"].include? scheme
47
end
48
- rescue Addressable::URI::InvalidURIError
+ rescue Addressable::URI::InvalidURIError, URI::InvalidURIError
49
nil
50
51
lib/qiita/markdown/transformers/filter_script.rb
@@ -47,7 +47,7 @@ def host_of(url)
52
53
0 commit comments