Fix: フレンドサーバー申請時、ドメインを偽装して無関係のInboxを指定できる脆弱性 (#933)
This commit is contained in:
parent
d3383fb188
commit
44bd33a3f4
4 changed files with 20 additions and 19 deletions
|
@ -116,6 +116,7 @@ class FriendDomain < ApplicationRecord
|
|||
object: ActivityPub::TagManager::COLLECTIONS[:public],
|
||||
|
||||
# Cannot use inbox_url method because this model also has inbox_url column
|
||||
# This is deprecated property. Newer version's kmyblue will ignore it.
|
||||
inboxUrl: "https://#{Rails.configuration.x.web_domain}/inbox",
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue