owen2345 / camaleon-cms

Camaleon CMS is a dynamic and advanced content management system based on Ruby on Rails
https://camaleon.website
MIT License
1.22k stars 287 forks source link

On cama_site_check_existence, if site is unknown, allow_other_host: true for redirection to main site #1071

Closed texpert closed 5 months ago

texpert commented 5 months ago

Starting from Rails 7.0 a redirection to other host will raise an exception unless the redirect_to method is called with the allow_other_host: true option