このコミットが含まれているのは:
2026-07-18 02:08:20 +09:00
コミット 9552081133
9個のファイルの変更351行の追加151行の削除
+1 -1
ファイルの表示
@@ -32,7 +32,7 @@ module Preview
def self.fetch_image_response(raw_url)
uri, = UrlSafety.validate(raw_url)
response = HttpFetcher.fetch(uri.to_s)
unless allowed_remote_image_content_type?(response.content_type)
unless allowed_remote_image_content_type?(response.content_type) || Post.svg_document_bytes?(response.body)
raise GenerationFailed, 'サムネール画像が見つかりませんでした.'
end