Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
rawOrlando committed Nov 13, 2023
1 parent 9f215b0 commit 769ce12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# This resolves an issue loading symbols causing pysch disallowed class error
# Check out https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017
config.active_record.yaml_column_permitted_classes = [Symbol, Hash, HashWithIndifferentAccess]
config.active_record.yaml_column_permitted_classes += [Symbol, Hash, HashWithIndifferentAccess]

# Configure static file server for tests with Cache-Control for performance.
config.public_file_server.enabled = true
Expand Down

0 comments on commit 769ce12

Please sign in to comment.