Skip to content

Commit

Permalink
Enable open redirect protection
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Mar 1, 2022
1 parent 73426ea commit 304eb3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/new_framework_defaults_7_0.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
Rails.application.config.active_record.partial_inserts = false

# Protect from open redirect attacks in `redirect_back_or_to` and `redirect_to`.
# Rails.application.config.action_controller.raise_on_open_redirects = true
Rails.application.config.action_controller.raise_on_open_redirects = true

# Change the variant processor for Active Storage.
# Changing this default means updating all places in your code that
Expand Down

0 comments on commit 304eb3b

Please sign in to comment.