mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] security.rdoc: fix YAML security documentation
Since fbb4e3f96c
`YAML` does not unmarshal arbitrary ruby objects.
This commit is contained in:
parent
5c32b31aee
commit
7a398adc2f
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ programs for configuration and database persistence of Ruby object trees.
|
|||
|
||||
Similar to +Marshal+, it is able to deserialize into arbitrary Ruby classes.
|
||||
For example, the following YAML data will create an +ERB+ object when
|
||||
deserialized:
|
||||
deserialized, using the `unsafe_load` method:
|
||||
|
||||
!ruby/object:ERB
|
||||
src: puts `uname`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue