Skip to content
Snippets Groups Projects
Verified Commit e6569d1b authored by Stan Hu's avatar Stan Hu
Browse files

Use YAML.safe_load_file for backup/restore

`YAML.load_file` in Psych v4, which is used by Ruby 3.1, defaults to
`YAML.safe_load` (https://github.com/ruby/psych/issues/533). This
change in behavior breaks backup and restore, since we need to be
explicit about which permitted classes can be loaded.

Relates to #396231

Changelog: changed
parent f67470fa
No related branches found
No related tags found
3 merge requests!118700Remove refactor_vulnerability_filters feature flag,!116602Draft: Resolve "Remove the possibility to set redis_slot in known_events",!115445Use YAML.safe_load_file for backup/restore
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment