fix external link allow_other_host
This commit is contained in:
parent
285441cb4b
commit
91e07ab660
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue