Add allow_other_host in redirects which may go outside app (#24252)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user