Skip to content

Commit

Permalink
activate new defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Dec 23, 2024
1 parent ca61898 commit 2ca8405
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/initializers/new_framework_defaults_8_0.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
# If set to `:offset`, `to_time` methods will use the UTC offset.
# If `false`, `to_time` methods will convert to the local system UTC offset instead.
#++
# Rails.application.config.active_support.to_time_preserves_timezone = :zone
Rails.application.config.active_support.to_time_preserves_timezone = :zone

###
# When both `If-Modified-Since` and `If-None-Match` are provided by the client
# only consider `If-None-Match` as specified by RFC 7232 Section 6.
# If set to `false` both conditions need to be satisfied.
#++
# Rails.application.config.action_dispatch.strict_freshness = true
Rails.application.config.action_dispatch.strict_freshness = true

###
# Set `Regexp.timeout` to `1`s by default to improve security over Regexp Denial-of-Service attacks.
#++
# Regexp.timeout = 1
Regexp.timeout = 1

0 comments on commit 2ca8405

Please sign in to comment.