sorcery
sorcery copied to clipboard
Allow open redirect for Rails 7.0 in #redirect_back_or_to method
👋 Thanks for the review in advance. Fixes open redirect for Rails 7.0 https://api.rubyonrails.org/classes/ActionController/Redirecting.html#method-i-redirect_to-label-Open+Redirect+protection
The PR here follows a similar approach with https://github.com/Sorcery/sorcery/pull/318 Please ensure your pull request includes the following: