fix external link allow_other_host

This commit is contained in:
Philipp Rothmann 2023-06-08 14:03:20 +02:00 committed by Philipp Rothmann
parent 285441cb4b
commit 91e07ab660
1 changed files with 1 additions and 1 deletions

View File

@ -20,6 +20,6 @@ class LinksController < ApplicationController
return redirect_to root_url, alert: t('.indirect_no_location') unless url
end
redirect_to url, status: :found
redirect_to url, status: :found, allow_other_host: true
end
end