diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2021-05-19 16:07:24 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-06-07 19:15:14 +0900 |
commit | fd6225c7a974e5154099c9f7be82bebd44a19116 (patch) | |
tree | d68741ae9aed69894c2475c75c47b935088b845d /miniinit.c | |
parent | 430883158f3d01f80917d6eefbaa82521c95c05a (diff) |
[ruby/psych] Implement YAML.safe_dump to make safe_load more usable.
In case where Psych is used as a two way serializers,
e.g. to serialize some cache or config, it is preferable
to have the same restrictions on both load and dump.
Otherwise you might dump and persist some objects payloads
that you later won't be able to read.
https://github.com/ruby/psych/commit/441958396f
Diffstat (limited to 'miniinit.c')
0 files changed, 0 insertions, 0 deletions