Fix: LD Signaturesで署名された投稿の検索許可(検索範囲)が改竄できる問題

This commit is contained in:
KMY 2024-09-10 06:51:26 +09:00
parent 39e73b4df8
commit 91a2dc81c4
7 changed files with 36 additions and 9 deletions

View file

@ -282,7 +282,7 @@ class ActivityPub::ProcessAccountService < BaseService
end
def searchability_from_audience
if audience_searchable_by.nil?
if audience_searchable_by.blank?
bio = searchability_from_bio
return bio unless bio.nil?