Skip to content

Commit

Permalink
Allow external redirect for home url
Browse files Browse the repository at this point in the history
REDMINE-20487
  • Loading branch information
tf committed Nov 14, 2023
1 parent ff141aa commit eb979bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/pageflow/entries_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class EntriesController < Pageflow::ApplicationController
def index
site = Site.for_request(request).with_home_url.first!

redirect_to(site.home_url)
redirect_to(site.home_url, allow_other_host: true)
end

def show
Expand Down

0 comments on commit eb979bd

Please sign in to comment.