Add allow_other_host in redirects which may go outside app (#24252)
This commit is contained in:
parent
e63524f457
commit
e633b26f4f
3 changed files with 3 additions and 3 deletions
|
@ -70,6 +70,6 @@ class StatusesController < ApplicationController
|
|||
end
|
||||
|
||||
def redirect_to_original
|
||||
redirect_to ActivityPub::TagManager.instance.url_for(@status.reblog) if @status.reblog?
|
||||
redirect_to(ActivityPub::TagManager.instance.url_for(@status.reblog), allow_other_host: true) if @status.reblog?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue